]> xenbits.xensource.com Git - unikraft/unikraft.git/commit
plat/common/acpi: Generalize `ACPI` initialization code
authorSergiu Moga <sergiu.moga@protonmail.com>
Mon, 24 Apr 2023 13:25:05 +0000 (16:25 +0300)
committerUnikraft <monkey@unikraft.io>
Fri, 11 Aug 2023 15:57:48 +0000 (15:57 +0000)
commitb86ca45bb9503751cd8921117f52d14795f74c20
tree3598f3e5e403b7549c271b5786d7ff58be771b77
parentc7b518f6a1fc062786a4ec42539ee46003658184
plat/common/acpi: Generalize `ACPI` initialization code

Write the code in such a manner that the same set of functions can
accommodate any version of ACPI. Thus, remove `acpi10_*` functions
and define an ACPI table generic fetching function `acpi_get_table`.

Signed-off-by: Sergiu Moga <sergiu.moga@protonmail.com>
Reviewed-by: Dragos Petre <dragos.petre27@gmail.com>
Reviewed-by: Marco Schlumpp <marco@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #911
plat/common/include/x86/acpi/acpi.h
plat/common/x86/acpi.c
plat/common/x86/lcpu.c