| 25 | } |
| 26 | |
| 27 | uint32_t inportd(uint16_t port){ |
| 28 | uint32_t value; |
| 29 | asm volatile("inl %1, %0" : "=a" (value) : "dN" (port)); |
| 30 | return value; |
| 31 | } |
| 32 | |
| 33 | void outportl(uint16_t port, uint32_t value){ |
| 34 | asm volatile ("outl %1, %0" : : "dN" (port), "a" (value)); |