diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-11-22 15:46:59 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-11-22 15:46:59 +0100 |
| commit | dcda5731ecbbce70edeaa7662e9ea0fc190a1943 (patch) | |
| tree | 8f0ec0843f573c49d069112dc62fb324678296c7 /kernel/head.S | |
| parent | 8231af9d8d759ae89c8214ca2410b0feab9dfb8c (diff) | |
| download | fbos-dcda5731ecbbce70edeaa7662e9ea0fc190a1943.tar.gz fbos-dcda5731ecbbce70edeaa7662e9ea0fc190a1943.zip | |
Enable the timer from the SBI interface
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à <mikisabate@gmail.com>
Diffstat (limited to 'kernel/head.S')
| -rw-r--r-- | kernel/head.S | 4 |
1 files changed, 4 insertions, 0 deletions
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 . |
