[ahci] cppify sata.cpp
Improved bind resource handling. Added sata_devinfo_response_t for simpler info parsing. Correctly print the serial, firmware, and model strings. Add unit tests to AHCI. Test: qemu AHCI disk tests, unit tests success. Change-Id: Id6560279eec7e95a1d22c041f9edd568bba3203b
Showing
- zircon/system/dev/block/ahci/BUILD.gn 28 additions, 1 deletionzircon/system/dev/block/ahci/BUILD.gn
- zircon/system/dev/block/ahci/ahci.cpp 3 additions, 4 deletionszircon/system/dev/block/ahci/ahci.cpp
- zircon/system/dev/block/ahci/ahci.h 2 additions, 0 deletionszircon/system/dev/block/ahci/ahci.h
- zircon/system/dev/block/ahci/sata.cpp 79 additions, 71 deletionszircon/system/dev/block/ahci/sata.cpp
- zircon/system/dev/block/ahci/sata.h 116 additions, 21 deletionszircon/system/dev/block/ahci/sata.h
- zircon/system/dev/block/ahci/test/main.cpp 72 additions, 0 deletionszircon/system/dev/block/ahci/test/main.cpp
- zircon/system/utest/BUILD.gn 1 addition, 0 deletionszircon/system/utest/BUILD.gn
Loading
Please register or sign in to comment