mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-05 19:00:16 +00:00
HV: Modularize boot folder
In order to remove the usage of hypervisor.h, modularize the boot folder. Current changes include modifications to remove usage of acrn_vm structure pointer, from some of the call, and remove calls to hypervisor.h, as and when deemed fit. Removed hva2gpa, as this was not used anywhere else after the changes. Tracked-On: #2694 Signed-off-by: Arindam Roy <arindam.roy@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
#ifndef ABL_SEED_PARSE_H_
|
||||
#define ABL_SEED_PARSE_H_
|
||||
|
||||
bool abl_seed_parse(struct acrn_vm *vm, char *cmdline, char *out_arg, uint32_t out_len);
|
||||
bool abl_seed_parse(char *cmdline, char *out_arg, uint32_t out_len);
|
||||
|
||||
#endif /* ABL_SEED_PARSE_H_ */
|
||||
|
@@ -36,8 +36,6 @@ enum vm_paging_mode get_vcpu_paging_mode(struct acrn_vcpu *vcpu);
|
||||
/* gpa --> hpa -->hva */
|
||||
void *gpa2hva(struct acrn_vm *vm, uint64_t x);
|
||||
|
||||
uint64_t hva2gpa(struct acrn_vm *vm, void *x);
|
||||
|
||||
/**
|
||||
* @brief Data transfering between hypervisor and VM
|
||||
*
|
||||
|
@@ -7,6 +7,6 @@
|
||||
#ifndef SBL_SEED_PARSE_H_
|
||||
#define SBL_SEED_PARSE_H_
|
||||
|
||||
bool sbl_seed_parse(struct acrn_vm *vm, char *cmdline, char *out_arg, uint32_t out_len);
|
||||
bool sbl_seed_parse(bool vm_is_sos, char *cmdline, char *out_arg, uint32_t out_len);
|
||||
|
||||
#endif /* SBL_SEED_PARSE_H_ */
|
||||
|
Reference in New Issue
Block a user