diff options
author | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2023-12-13 13:24:48 +0100 |
---|---|---|
committer | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2023-12-25 18:37:20 +0100 |
commit | 30d6e8f850d2fe26fffdeef0c38fc627ef8bab9a (patch) | |
tree | cd786b6a79d6a58590b2d35308746761c1e3d977 /include/pic.h |
initial commit
currently with:
booted via multiboot 1
protected mode to long mode boostrap code
vga used for outputting
gdt and idt set up
identity paging for the whole memory reported by multiboot
pic and ps/2 set up
acpi code exists but is broken
Diffstat (limited to 'include/pic.h')
-rw-r--r-- | include/pic.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/pic.h b/include/pic.h new file mode 100644 index 0000000..08ec6e7 --- /dev/null +++ b/include/pic.h @@ -0,0 +1,9 @@ +#ifndef _PIC_H_ +#define _PIC_H_ + +#include <stdint.h> + +void pic_init(void); +void pic_eoi(uint8_t irq); + +#endif |