mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
IO: fix missing headers
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
#ifndef _IO_H_INCLUDE
|
||||
#define _IO_H_INCLUDE
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
static inline void outd(uint16_t port, uint32_t data){
|
||||
asm volatile("out %%eax, %%dx" : : "a"(data), "d"(port));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user