Re: [PATCH v42 03/98] hw/sd/sdcard: Track last command used to help logging

2024-06-28 Thread Cédric Le Goater
On 6/28/24 9:00 AM, Philippe Mathieu-Daudé wrote: The command is selected on the I/O lines, and further processing might be done on the DAT lines via the sd_read_byte() and sd_write_byte() handlers. Since these methods can't distinct between normal and APP commands, keep the name of the current

[PATCH v42 03/98] hw/sd/sdcard: Track last command used to help logging

2024-06-28 Thread Philippe Mathieu-Daudé
The command is selected on the I/O lines, and further processing might be done on the DAT lines via the sd_read_byte() and sd_write_byte() handlers. Since these methods can't distinct between normal and APP commands, keep the name of the current command in the SDState and use it in the DAT