summaryrefslogtreecommitdiff
path: root/kc/core/pit8253.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-02-13 18:47:58 +0000
committerAda Christine <adachristine18@gmail.com>2022-02-13 18:47:58 +0000
commite8a76b2f6b53d99640ceb2850bf4e45118b923f1 (patch)
tree9e7ab33233883a2db2aa60393b66e6d526edbaf1 /kc/core/pit8253.h
parent78788acf026b21b516fd981d321b0809c07de921 (diff)
rudimentary irq and timer support
Diffstat (limited to 'kc/core/pit8253.h')
-rw-r--r--kc/core/pit8253.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kc/core/pit8253.h b/kc/core/pit8253.h
new file mode 100644
index 0000000..81374a3
--- /dev/null
+++ b/kc/core/pit8253.h
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <stdint.h>
+
+void pit8253_init(void);
+void pit8253_start(void);
+void pit8253_stop(void);
+void pit8253_set_hz(uint16_t hz);
+