Re: [Qemu-devel] Help me about the FDC

2012-02-22 Thread 陳韋任
> 2: explain the struct of FDCtrl; In order to know what those fields in FDCtrl mean, you might need to read ftp://download.intel.com/design/archives/periphrl/docs/29047504.pdf first. As the comment in hw/fdc.c says, it's Intel 82078 floppy disk controller emulation. Regards, chenwj -- Wei

Re: [Qemu-devel] Help me about the FDC

2012-02-22 Thread 陳韋任
> 3: or give me some introduce of FDC. http://en.wikipedia.org/wiki/Floppy_disk_controller HTH, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: [Qemu-devel] Help me about the FDC

2012-02-22 Thread Stefan Hajnoczi
On Wed, Feb 22, 2012 at 6:16 AM, Zhi Hui Li wrote: > 1: explain the difference between : > >    type_register_static(&isa_fdc_info); >    type_register_static(&sysbus_fdc_info); >    type_register_static(&sun4m_fdc_info); The floppy disk controller is used by several different targets, including

[Qemu-devel] Help me about the FDC

2012-02-21 Thread Zhi Hui Li
I am read the code of fdc.c , I feel it was difficult to understand. Can somebody give me some help: thank you very much! 1: explain the difference between : type_register_static(&isa_fdc_info); type_register_static(&sysbus_fdc_info); type_register_static(&sun4m_fdc_info); 2: e