mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 15:14:27 +00:00
hv: refine guest.h
- move functions related vmexit from `guest.h` to `vmexit.h` - move functions related msr from `guest.h` to `msr.h` - move functions related vm_sw_loader from `guest.h` to `vm.h` - move function `vmx_vmrun` from `guest.h` to `vcpu.h` - move MACROs related to vcpu from `guest.h` to `vcpu.h` - move MACRO `E820_MAX_ENTRIES` from `guest.h` to `e820.h` - move MACROs related to irq from `guest.h` to `irq.h` - rename `guest.h` to `guest_memory.h` Tracked-On: #2503 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -592,6 +592,14 @@ static inline bool is_x2apic_write_only_msr(uint32_t msr)
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
struct acrn_vcpu;
|
||||
|
||||
void init_msr_emulation(struct acrn_vcpu *vcpu);
|
||||
uint32_t vmsr_get_guest_msr_index(uint32_t msr);
|
||||
void update_msr_bitmap_x2apic_apicv(const struct acrn_vcpu *vcpu);
|
||||
void update_msr_bitmap_x2apic_passthru(const struct acrn_vcpu *vcpu);
|
||||
|
||||
#endif /* ASSEMBLER */
|
||||
|
||||
/* 5 high-order bits in every field are reserved */
|
||||
|
||||
Reference in New Issue
Block a user