Enable the PIC and add a timer.

This causes a GP fault after the timer runs for some time.
This commit is contained in:
Drew Galbraith 2023-05-29 21:52:01 -07:00
parent 80d2bf1aaa
commit 629dca278b
6 changed files with 76 additions and 0 deletions

5
zion/interrupt/timer.h Normal file
View file

@ -0,0 +1,5 @@
#pragma once
#include <stdint.h>
void SetFrequency(uint64_t hertz);