commit | 0d248832e9235ab390b4961eecae90b63a226948 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Thu Apr 08 18:16:02 2021 -0700 |
committer | swissChili <swisschili@fastmail.com> | Thu Apr 08 18:16:02 2021 -0700 |
tree | e4f17e5e0de9ce8f8f62d273e6428b4d1c1fee49 | |
parent | 2e0febf00359d869f373041a4779ccae935af890 [diff] [blame] |
Add start of PCI and AHCI drivers
diff --git a/include/kernel/io.h b/include/kernel/io.h index 85f2e8c..136c4f9 100644 --- a/include/kernel/io.h +++ b/include/kernel/io.h
@@ -16,8 +16,10 @@ extern struct kbd_scan_code_info scan_code_table[0xff]; void outb(ushort port, uchar val); +void outl(ushort port, uint val); uchar inb(ushort port); ushort inw(ushort port); +uint inl(ushort port); /* Random string.h stuff, TODO: move to own header */ void *memset(void *s, int c, size_t n);