| 5 | } |
| 6 | |
| 7 | uint8_t inportb(uint16_t port){ |
| 8 | uint8_t value; |
| 9 | asm volatile("inb %1, %0" : "=a" (value) : "dN" (port)); |
| 10 | return value; |
| 11 | } |
| 12 | |
| 13 | void outportw(uint16_t port, uint16_t value){ |
| 14 | asm volatile ("outw %1, %0" : : "dN" (port), "a" (value)); |
no outgoing calls
no test coverage detected