From c09f0ee6b338e30d8408dc43378f4e7838819275 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 17 Nov 2025 11:41:40 -0500 Subject: kern/amd64: lapic: Configure and calibrate timer Signed-off-by: Ian Moffett --- sys/inc/arch/amd64/mcb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/inc/arch/amd64/mcb.h') diff --git a/sys/inc/arch/amd64/mcb.h b/sys/inc/arch/amd64/mcb.h index eb63365..ccd71ce 100644 --- a/sys/inc/arch/amd64/mcb.h +++ b/sys/inc/arch/amd64/mcb.h @@ -40,11 +40,13 @@ * @hwid: Hardware APIC ID * @xapic_io: MMIO base for the legacy xAPIC * @has_x2apic: Set if x2APIC mode is supported + * @lapic_tmr_freq: Frequency of Local APIC timer */ struct mcb { uint32_t hwid; void *xapic_io; uint8_t has_x2apic : 1; + size_t lapic_tmr_freq; }; #endif /* !_MACHINE_MCB_H_ */ -- cgit v1.2.3