You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(acpi): add RSDP discovery from BIOS memory regions. (#2124)
* acpi: add RSDP discovery from BIOS memory regions.
impl ACPI RSDP discovery for legacy BIOS platforms by scanning the standard locations defined by the ACPI specification.
The impl follow the linux kernel drivers/acpi/acpica/tbxfroot.c
checking:
- EBDA region
- BIOS reserved memory range 0xE0000-0xFFFFF
Signed-off-by: DonjuanPlatinum <donplat@barrensea.org>
* 1. change RSDP scan before mm_init into early_init to follow the linux
impl.
2. when len < 36 || len > available_len, rsdp_valid return false
* fmt
* change the scan window into min(1KiB, 0xA0000 - ebda_phys)
Signed-off-by: Donjuanplatinum <donplat@barrensea.org>
* fix EarlyRemapPage.
Signed-off-by: Donjuanplatinum <donplat@barrensea.org>
* Update acpi and aml dependencies
Updated acpi and aml dependencies to a new commit hash.
* fix(acpi): add legacy BIOS RSDP fallback
Signed-off-by: longjin <longjin@dragonos.org>
* fix(acpi): bound early RSDP mappings
Signed-off-by: longjin <longjin@dragonos.org>
---------
Signed-off-by: DonjuanPlatinum <donplat@barrensea.org>
Signed-off-by: Donjuanplatinum <donplat@barrensea.org>
Signed-off-by: longjin <longjin@dragonos.org>
Co-authored-by: longjin <longjin@dragonos.org>
0 commit comments