From 78b4633045e1dcea2c3b03d1d79f8636cefb3314 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 22 Feb 2024 22:45:17 -0500 Subject: kernel/amd64: lapic: uint32_t -> size_t Signed-off-by: Ian Moffett --- sys/arch/amd64/amd64/lapic.c | 2 +- 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); -- cgit v1.2.3