From b8a553d16a77dca5550a76538029c77618dcf759 Mon Sep 17 00:00:00 2001 From: "Li, Fei1" Date: Thu, 15 Nov 2018 22:44:38 +0800 Subject: [PATCH] hv: lapic: remove union apic_lvt Since it's unused. Tracked-On: #861 Signed-off-by: Li, Fei1 --- hypervisor/arch/x86/lapic.c | 69 ------------------------------------- 1 file changed, 69 deletions(-) diff --git a/hypervisor/arch/x86/lapic.c b/hypervisor/arch/x86/lapic.c index 00aa9ce50..f1ec30e14 100644 --- a/hypervisor/arch/x86/lapic.c +++ b/hypervisor/arch/x86/lapic.c @@ -27,75 +27,6 @@ union apic_icr { } bits; }; -union apic_lvt { - uint32_t value; - union { - struct { - uint32_t vector:8; - uint32_t rsvd_1:4; - uint32_t delivery_status:1; - uint32_t rsvd_2:3; - uint32_t mask:1; - uint32_t mode:2; - uint32_t rsvd_3:13; - } timer; - struct { - uint32_t vector:8; - uint32_t delivery_mode:3; - uint32_t rsvd_1:1; - uint32_t delivery_status:1; - uint32_t rsvd_2:3; - uint32_t mask:1; - uint32_t rsvd_3:15; - } cmci; - struct { - uint32_t vector:8; - uint32_t delivery_mode:3; - uint32_t rsvd_1:1; - uint32_t delivery_status:1; - uint32_t polarity:1; - uint32_t remote_irr:1; - uint32_t trigger_mode:1; - uint32_t mask:1; - uint32_t rsvd_2:15; - } lint; - struct { - uint32_t vector:8; - uint32_t rsvd_1:4; - uint32_t delivery_status:1; - uint32_t rsvd_2:3; - uint32_t mask:1; - uint32_t rsvd_3:15; - } error; - struct { - uint32_t vector:8; - uint32_t delivery_mode:3; - uint32_t rsvd_1:1; - uint32_t delivery_status:1; - uint32_t rsvd_2:3; - uint32_t mask:1; - uint32_t rsvd_3:15; - } pmc; - struct { - uint32_t vector:8; - uint32_t delivery_mode:3; - uint32_t rsvd_1:1; - uint32_t delivery_status:1; - uint32_t rsvd_2:3; - uint32_t mask:1; - uint32_t rsvd_3:15; - } thermal; - struct { - uint32_t vector:8; - uint32_t rsvd_1:4; - uint32_t delivery_status:1; - uint32_t rsvd_2:3; - uint32_t mask:1; - uint32_t rsvd_3:15; - } common; - } bits; -}; - union lapic_base_msr { uint64_t value; struct {