| 15 | } |
| 16 | |
| 17 | uint16_t inportw(uint16_t port){ |
| 18 | uint16_t value; |
| 19 | asm volatile("inw %1, %0" : "=a" (value) : "dN" (port)); |
| 20 | return value; |
| 21 | } |
| 22 | |
| 23 | void outportd(uint16_t port, uint32_t value){ |
| 24 | asm volatile ("outl %1, %0" : : "dN" (port), "a" (value)); |
no outgoing calls
no test coverage detected