mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2025-12-06 21:45:26 -08:00
fixing minor bugs with single unit compilation in gcc with flags on
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user