mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 09:17:58 +00:00
HV: refine acpi rsdp initialize interface
In previous code, the rsdp initialization is done in get_rsdp() api implicitly. The function is called multiple times in following acpi table parsing functions and the condition (rsdp == NULL) need to be added in each parsing function. This is not needed since the panic would occur if rsdp is NULL when do acpi initialization. Tracked-On: #5626 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -236,6 +236,7 @@ struct acpi_table_tpm2 {
|
||||
uint32_t start_method;
|
||||
} __packed;
|
||||
|
||||
void init_acpi(void);
|
||||
void *get_acpi_tbl(const char *signature);
|
||||
|
||||
struct ioapic_info;
|
||||
|
Reference in New Issue
Block a user