From dcda5731ecbbce70edeaa7662e9ea0fc190a1943 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 22 Nov 2024 15:46:59 +0100 Subject: Enable the timer from the SBI interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A basic interrupt handler has been implemented which tracks the seconds that have been elapsing along the way. Depending on the value of these seconds, then a task has to be called. Signed-off-by: Miquel Sabaté Solà --- kernel/head.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kernel/head.S') diff --git a/kernel/head.S b/kernel/head.S index 9018a8e..c8f523d 100644 --- a/kernel/head.S +++ b/kernel/head.S @@ -53,3 +53,7 @@ _start: // Start the kernel. tail start_kernel + + // We really shouldn't reach this point, but just in case, just loop + // infinitely here. + j . -- cgit v1.2.3