mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 12:19:06 +00:00
hv:cleanup header file for vm.c & vm.h
-- now hypervisor.h is the universal set of header file, this patch doesn't include hypervisor.h, only include some necessary header files for vm.c and vm.h -- move 'struct vcpuid_entry' from vm.h to vcpuid.h -- remove dead code 'enum vm_privilege_level' -- move 'enum vpic_wire_mode' from vm.h to vpic.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
*/
|
||||
|
||||
#include <apicreg.h>
|
||||
#include <util.h>
|
||||
|
||||
#define VIOAPIC_BASE 0xFEC00000UL
|
||||
#define VIOAPIC_SIZE 4096UL
|
||||
|
@@ -95,6 +95,13 @@
|
||||
#define NR_VPIC_PINS_PER_CHIP 8U
|
||||
#define NR_VPIC_PINS_TOTAL 16U
|
||||
|
||||
enum vpic_wire_mode {
|
||||
VPIC_WIRE_INTR = 0,
|
||||
VPIC_WIRE_LAPIC,
|
||||
VPIC_WIRE_IOAPIC,
|
||||
VPIC_WIRE_NULL
|
||||
};
|
||||
|
||||
enum vpic_trigger {
|
||||
EDGE_TRIGGER,
|
||||
LEVEL_TRIGGER
|
||||
|
Reference in New Issue
Block a user