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