Weekly report of July 1
zxyu.core at gmail.com
Sun Jul 7 14:01:10 UTC 2013
I added one bare bone pci ahci emulation during this week. The pci
config space such as device, vendor, class, subclass and progif etc.
are implemented. Besides this, the Global Host Control registers
emulation: CAP, PI and VS are also implemented.
Now the freebsd recognize the host as Intel Cougar Point AHCI SATA controller.
truncate -s 64M ahcidev
./bhyve -c1 -m 256 -AI -H -P -s 0:0,hostbridge -s 1:0,ahci,./ahcidev
-s 2:0,virtio-blk,./diskdev -S 31,uart,stdio vm1
ahci0: <Intel Cougar Point AHCI SATA controller> port 0x2000-0x23ff at
device 1.0 on pci0
device_attach: ahci0 attach returned 6
More information about the soc-status