| 33 | uint8_t ideSubclass = PCI_SUBCLASS_IDE; |
| 34 | |
| 35 | inline void WriteRegister(uint8_t port, uint8_t reg, uint8_t value){ |
| 36 | outportb((port ? port1 : port0 ) + reg, value); |
| 37 | } |
| 38 | |
| 39 | inline uint8_t ReadRegister(uint8_t port, uint8_t reg){ |
| 40 | return inportb((port ? port1 : port0 ) + reg); |
no test coverage detected