Re: [Qemu-devel] Character order of ATA identity

2015-04-17 Thread John Snow
On 04/16/2015 02:07 PM, 乔天香 wrote: Hi, all Hi! I'm learning operating system and trying to write a little toy kernel. Before doing disk I/O, I issued the *ATA identify* command to obtain information about the master device on the primary channel. When I ran my code with QEMU, I found it gi

[Qemu-devel] Character order of ATA identity

2015-04-16 Thread 乔天香
Hi, all I'm learning operating system and trying to write a little toy kernel. Before doing disk I/O, I issued the *ATA identify* command to obtain information about the master device on the primary channel. When I ran my code with QEMU, I found it gives some ASCII string fields in a wrong byte or