mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 22:26:56 +00:00
[FREELDR] PcMemGetBiosMemoryMap(): Add a default handling of entry with "EA.ErrorLog = 1". CORE-14150
This FIXME is meant as a reminder/help to actually use this data.
This commit is contained in:
parent
a0313c750f
commit
c1d0d409e7
1 changed files with 12 additions and 0 deletions
|
@ -351,6 +351,18 @@ PcMemGetBiosMemoryMap(PFREELDR_MEMORY_DESCRIPTOR MemoryMap, ULONG MaxMemoryMapSi
|
||||||
TRACE("Type: 0x%lx\n", PcBiosMemoryMap[PcBiosMapCount].Type);
|
TRACE("Type: 0x%lx\n", PcBiosMemoryMap[PcBiosMapCount].Type);
|
||||||
TRACE("ExtendedAttributesAsULONG: 0x%08lx\n", PcBiosMemoryMap[PcBiosMapCount].ExtendedAttributesAsULONG);
|
TRACE("ExtendedAttributesAsULONG: 0x%08lx\n", PcBiosMemoryMap[PcBiosMapCount].ExtendedAttributesAsULONG);
|
||||||
|
|
||||||
|
if (PcBiosMemoryMap[PcBiosMapCount].ExtendedAttributes.ErrorLog == 1)
|
||||||
|
{
|
||||||
|
FIXME("EA.ErrorLog = 1. Please report this to CORE-14150. "
|
||||||
|
"(PcBiosMapCount = %lu, BaseAddress = 0x%llx, Length = 0x%llx, Type = 0x%lx, ExtendedAttributesAsULONG = 0x%08lx)\n",
|
||||||
|
PcBiosMapCount,
|
||||||
|
PcBiosMemoryMap[PcBiosMapCount].BaseAddress,
|
||||||
|
PcBiosMemoryMap[PcBiosMapCount].Length,
|
||||||
|
PcBiosMemoryMap[PcBiosMapCount].Type,
|
||||||
|
PcBiosMemoryMap[PcBiosMapCount].ExtendedAttributesAsULONG);
|
||||||
|
// NotWantedForPublicBuilds: ASSERTMSG("EA.ErrorLog = 1. Check/Report then CONTinue.", FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
if (PcBiosMemoryMap[PcBiosMapCount].Length == 0)
|
if (PcBiosMemoryMap[PcBiosMapCount].Length == 0)
|
||||||
{
|
{
|
||||||
TRACE("Discard empty range. (would-be-PcBiosMapCount = %lu, BaseAddress = 0x%llx, Length = 0)\n",
|
TRACE("Discard empty range. (would-be-PcBiosMapCount = %lu, BaseAddress = 0x%llx, Length = 0)\n",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue