CORE-13332. PcMemGetBiosMemoryMap(): Update ACPI (Extended Attributes) support. ...
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Wed, 27 Dec 2017 10:09:20 +0000 (11:09 +0100)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 27 Dec 2017 10:09:20 +0000 (11:09 +0100)
commit74f92c3d867a2d827e00e70dcf6e0295c40465c0
tree4d6cdbcdb0d329b1b6049b3cbcd6629c06f5793f
parentb214b160b6dfc40f14005039b64bc3c5e8231156
CORE-13332. PcMemGetBiosMemoryMap(): Update ACPI (Extended Attributes) support. (#143)

[FREELDR] Update ACPI (Extended Attributes) support in PcMemGetBiosMemoryMap()
CORE-13332

* PcMemGetBiosMemoryMap(): Add Extended Attributes set and check for entry validity and default handling of unexpected case.

* pcbios.h: Rename superceded BIOS_MEMORY_MAP.Reserved. Adapt existing code to new ACPI 6.2-A definitions.

* pcbios.h: Update BIOS_MEMORY_TYPE and BIOS_MEMORY_MAP to ACPI 6.2-A from 1.0+.

* PcMemGetBiosMemoryMap(): Misc fixes, no functional changes.
*Create PcMemCheckUsableMemorySize(), to split unrelated code out.
*Fix a copypasta in 2 output strings from ba9a1c3abba3b795a55186f289704ec8eeaf1cb9.
*Improve output readability of TRACE("ECX ...", ...).
*Move a TRACE("\n").
*Improve code style a bit.
boot/freeldr/freeldr/arch/i386/pcmem.c
boot/freeldr/freeldr/include/arch/pc/pcbios.h