aboutsummaryrefslogtreecommitdiffstats
path: root/src/pic.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pic.hpp')
-rw-r--r--src/pic.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pic.hpp b/src/pic.hpp
new file mode 100644
index 0000000..17abd55
--- /dev/null
+++ b/src/pic.hpp
@@ -0,0 +1,12 @@
+#ifndef PIC_HPP
+#define PIC_HPP
+
+#include <cstdint>
+
+/* reinitialize the PIC controllers, giving them specified vector offsets
+ rather than 8h and 70h, as configured by default */
+void pic_initialize();
+void pic_eoi(std::uint8_t irq);
+
+#endif // PIC_HPP
+