ACPI: bug fix on address convertion

Before referencing to phisical address of acpi tables, switch it to
virtual address.

Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
This commit is contained in:
Zheng, Gen
2018-04-16 12:11:29 +08:00
committed by lijinxia
parent b6dd16b75e
commit e52783248d
3 changed files with 15 additions and 13 deletions

View File

@@ -54,5 +54,5 @@ struct acpi_table_header {
int parse_madt(uint8_t *lapic_id_base);
uint64_t get_dmar_table(void);
void *get_dmar_table(void);
#endif /* !ACPI_H */