diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-04-18 21:10:57 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-04-21 12:12:38 +0300 |
| commit | 7967a9ab13214543041e4408086668b4db8d3e62 (patch) | |
| tree | 4dab7b89bd9d5b5b8280877f9d8eb23a1edf1230 /arch | |
| parent | 1ceed7525272b82c1028ebd353e65c3a63bd2714 (diff) | |
| download | kmi-7967a9ab13214543041e4408086668b4db8d3e62.tar.gz kmi-7967a9ab13214543041e4408086668b4db8d3e62.zip | |
start working on timer subsys
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/riscv64/kernel/timer.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/riscv64/kernel/timer.c b/arch/riscv64/kernel/timer.c new file mode 100644 index 0000000..cad811d --- /dev/null +++ b/arch/riscv64/kernel/timer.c @@ -0,0 +1,18 @@ +#include <arch/timer.h> + +ticks_t stat_timer() +{ + /* TODO: read from fdt */ + return 0; +} + +void set_timer(ticks_t ticks) +{ + /* TODO */ +} + +ticks_t current_ticks() +{ + /* TODO */ + return 0; +} |
