33 #define NMI_ENABLE_PORT 0x70
38 uint8_t value = inb(NMI_ENABLE_PORT);
39 outb(NMI_ENABLE_PORT, value & ~
BIT(8));
45 uint8_t value = inb(NMI_ENABLE_PORT);
46 outb(NMI_ENABLE_PORT, value |
BIT(8));
#define BIT(x)
Useful to reference a single bit of a byte.