fixing minor bugs with single unit compilation in gcc with flags on

This commit is contained in:
2025-05-16 01:08:12 -07:00
parent 50efcc13fe
commit 49361a98be
19 changed files with 109 additions and 12 deletions

View File

@@ -1,6 +1,8 @@
#ifndef IO_H
#define IO_H
#include <stdint.h>
static inline void outb(uint16_t port, uint8_t val) {
asm volatile ("outb %0, %1" : : "a"(val), "Nd"(port));
}