diff options
author | dzwdz | 2023-09-16 20:48:28 +0200 |
---|---|---|
committer | dzwdz | 2023-09-17 17:13:50 +0200 |
commit | 4ade8ff9e6c4185ebe45ecfe183668f28e1525b7 (patch) | |
tree | 26fdfa0659f4a32fc3d187658c2d8d457b272578 /src/kernel/arch/generic.h | |
parent | 458978e7b8a6d50566fc8b68558f76f6b0465c52 (diff) |
kernel/amd64: add HPET support, slightly rework time handling
Diffstat (limited to 'src/kernel/arch/generic.h')
-rw-r--r-- | src/kernel/arch/generic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/generic.h b/src/kernel/arch/generic.h index 647badc..a6a14c9 100644 --- a/src/kernel/arch/generic.h +++ b/src/kernel/arch/generic.h @@ -23,8 +23,8 @@ void shutdown(void); /** on x86: waits for an IRQ */ void cpu_pause(void); -uint64_t uptime_ms(void); -void timer_schedule(Proc *p, uint64_t time); +uint64_t uptime_ns(void); +void timer_schedule(Proc *p, uint64_t ns); void timer_deschedule(Proc *p); // src/arch/i386/sysenter.s |