diff options
author | Ian Moffett <ian@osmora.org> | 2024-02-22 22:45:17 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-02-22 22:45:17 -0500 |
commit | 78b4633045e1dcea2c3b03d1d79f8636cefb3314 (patch) | |
tree | a51348b0ab3893377df7312f5b18d05b37d1c39d | |
parent | 6d72600dd63f7974be433256e6beebe1c90bf403 (diff) |
kernel/amd64: lapic: uint32_t -> size_t
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/arch/amd64/amd64/lapic.c | 2 | ||||
-rw-r--r-- | sys/include/arch/amd64/lapic.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/lapic.c b/sys/arch/amd64/amd64/lapic.c index a1cbbf1..63c05c7 100644 --- a/sys/arch/amd64/amd64/lapic.c +++ b/sys/arch/amd64/amd64/lapic.c @@ -253,7 +253,7 @@ lapic_timer_oneshot(bool mask, uint32_t count) * @us: Microseconds. */ void -lapic_timer_oneshot_us(uint32_t us) +lapic_timer_oneshot_us(size_t us) { uint64_t ticks; struct cpu_info *ci = this_cpu(); diff --git a/sys/include/arch/amd64/lapic.h b/sys/include/arch/amd64/lapic.h index b8fae1b..db27ad6 100644 --- a/sys/include/arch/amd64/lapic.h +++ b/sys/include/arch/amd64/lapic.h @@ -50,7 +50,7 @@ enum { void lapic_timer_init(size_t *freq_out); void lapic_timer_oneshot(bool mask, uint32_t count); -void lapic_timer_oneshot_us(uint32_t us); +void lapic_timer_oneshot_us(size_t us); void lapic_send_ipi(uint8_t id, uint8_t shorthand, uint8_t vector); void lapic_init(void); |