From e8a76b2f6b53d99640ceb2850bf4e45118b923f1 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Sun, 13 Feb 2022 18:47:58 +0000 Subject: rudimentary irq and timer support --- kc/core/pit8253.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 kc/core/pit8253.h (limited to 'kc/core/pit8253.h') 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 + +void pit8253_init(void); +void pit8253_start(void); +void pit8253_stop(void); +void pit8253_set_hz(uint16_t hz); + -- cgit v1.3.1-1-g115d