It seems if I have these in here, it panics in ArmCpuDxe

Guess the HOBs are still wrong.
This commit is contained in:
Zhuowei Zhang 2019-02-22 21:52:00 -08:00
parent 49ca4eeb68
commit 99b486b8c2

View File

@ -39,8 +39,10 @@ STATIC struct Pixel3XLReservedMemory {
EFI_RESOURCE_ATTRIBUTE_TYPE Attributes; EFI_RESOURCE_ATTRIBUTE_TYPE Attributes;
ARM_MEMORY_REGION_ATTRIBUTES MemoryTableAttributes; ARM_MEMORY_REGION_ATTRIBUTES MemoryTableAttributes;
} Pixel3XLReservedMemoryBuffer [] = { } Pixel3XLReservedMemoryBuffer [] = {
/*
{ 0x9d400000, 0x02400000, EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE, ARM_MEMORY_REGION_ATTRIBUTE_WRITE_THROUGH}, { 0x9d400000, 0x02400000, EFI_RESOURCE_ATTRIBUTE_WRITE_THROUGH_CACHEABLE, ARM_MEMORY_REGION_ATTRIBUTE_WRITE_THROUGH},
{ 0xa1a10000, 0x00200000, EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE, ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED}, { 0xa1a10000, 0x00200000, EFI_RESOURCE_ATTRIBUTE_UNCACHEABLE, ARM_MEMORY_REGION_ATTRIBUTE_UNCACHED_UNBUFFERED},
*/
/* /*
{ 0x1AC00000, 0x00098000 }, // ARM-TF reserved { 0x1AC00000, 0x00098000 }, // ARM-TF reserved
{ 0x32000000, 0x00100000 }, // PSTORE/RAMOOPS { 0x32000000, 0x00100000 }, // PSTORE/RAMOOPS