mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 20:22:46 +00:00
HV: remove unused mptable info
mptable pointer in acrn_vm_config struct and also extern struct mptable_vm1/2 declared in mptable.h are not used any more, remove them. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
a8e4f227ba
commit
d9c38bafa5
@ -225,7 +225,6 @@ struct acrn_vm_config {
|
|||||||
bool sworld_supported;
|
bool sworld_supported;
|
||||||
#ifdef CONFIG_PARTITION_MODE
|
#ifdef CONFIG_PARTITION_MODE
|
||||||
uint8_t vm_id;
|
uint8_t vm_id;
|
||||||
struct mptable_info *mptable;
|
|
||||||
uint64_t start_hpa;
|
uint64_t start_hpa;
|
||||||
uint64_t mem_size; /* UOS memory size in hex */
|
uint64_t mem_size; /* UOS memory size in hex */
|
||||||
bool vm_vuart;
|
bool vm_vuart;
|
||||||
|
@ -146,9 +146,6 @@ struct mptable_info {
|
|||||||
struct proc_entry proc_entry_array[CONFIG_MAX_PCPU_NUM];
|
struct proc_entry proc_entry_array[CONFIG_MAX_PCPU_NUM];
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct mptable_info mptable_vm1;
|
|
||||||
extern struct mptable_info mptable_vm2;
|
|
||||||
|
|
||||||
int32_t mptable_build(struct acrn_vm *vm);
|
int32_t mptable_build(struct acrn_vm *vm);
|
||||||
|
|
||||||
#endif /* MPTABLE_H */
|
#endif /* MPTABLE_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user