diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-04 13:41:10 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-11-04 13:41:10 +0100 |
commit | 7a07b4a4398e02aead731b0c38af143d6a2fe41a (patch) | |
tree | cd9ec8490531dfa26e05325f807fb0e8c8e06c24 /kernel/io_ports.h | |
parent | 71e63d03f95d559c709911844ef1fc9907c74f49 (diff) | |
download | jeyzuos-7a07b4a4398e02aead731b0c38af143d6a2fe41a.zip jeyzuos-7a07b4a4398e02aead731b0c38af143d6a2fe41a.tar.gz |
add io_ports
Diffstat (limited to 'kernel/io_ports.h')
-rw-r--r-- | kernel/io_ports.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/io_ports.h b/kernel/io_ports.h new file mode 100644 index 0000000..e6ee7d3 --- /dev/null +++ b/kernel/io_ports.h @@ -0,0 +1,7 @@ +#ifndef _IO_PORTS_H_ +#define _IO_PORTS_H_ + +void outw(uint16_t port, uint16_t data); +uint16_t inw(uint16_t port); + +#endif |