- PrintString("Hob Info\n");\r
- PrintString("Phit.EfiMemoryTop = "); \r
- PrintValue64(gHob->Phit.EfiMemoryTop);\r
- PrintString(" Phit.EfiMemoryBottom = "); \r
- PrintValue64(gHob->Phit.EfiMemoryBottom);\r
- PrintString("\n"); \r
- PrintString("Phit.EfiFreeMemoryTop = "); \r
- PrintValue64(gHob->Phit.EfiFreeMemoryTop);\r
- PrintString(" Phit.EfiFreeMemoryBottom = "); \r
- PrintValue64(gHob->Phit.EfiFreeMemoryBottom);\r
- PrintString("\n"); \r
- PrintString("Bfv = "); \r
- PrintValue64(gHob->Bfv.BaseAddress);\r
- PrintString(" BfvLength = "); \r
- PrintValue64(gHob->Bfv.Length);\r
- PrintString("\n");\r
- PrintString("NvStorageFvb = ");\r
- PrintValue64(gHob->NvStorageFvb.FvbInfo.Entries[0].Base);\r
- PrintString(" Length = ");\r
- PrintValue64(gHob->NvStorageFvb.FvbInfo.Entries[0].Length);\r
- PrintString("\n");\r
- PrintString("NvFtwFvb = ");\r
- PrintValue64(gHob->NvFtwFvb.FvbInfo.Entries[0].Base);\r
- PrintString(" Length = ");\r
- PrintValue64(gHob->NvFtwFvb.FvbInfo.Entries[0].Length);\r
- PrintString("\n");\r
- PrintString("BfvResource = ");\r
- PrintValue64(gHob->BfvResource.PhysicalStart);\r
- PrintString(" Length = ");\r
- PrintValue64(gHob->BfvResource.ResourceLength);\r
- PrintString("\n");\r
- PrintString("NvStorageFvResource = ");\r
- PrintValue64(gHob->NvStorageFvResource.PhysicalStart);\r
- PrintString(" Length = ");\r
- PrintValue64(gHob->NvStorageFvResource.ResourceLength);\r
- PrintString("\n");\r
- PrintString("NvStorage = ");\r
- PrintValue64(gHob->NvStorage.FvbInfo.Entries[0].Base);\r
- PrintString(" Length = ");\r
- PrintValue64(gHob->NvStorage.FvbInfo.Entries[0].Length);\r
- PrintString("\n");\r
- PrintString("NvFtwFvResource = ");\r
- PrintValue64(gHob->NvFtwFvResource.PhysicalStart);\r
- PrintString(" Length = ");\r
- PrintValue64(gHob->NvFtwFvResource.ResourceLength);\r
- PrintString("\n");\r
- PrintString("NvFtwWorking = ");\r
- PrintValue64(gHob->NvFtwWorking.FvbInfo.Entries[0].Base);\r
- PrintString(" Length = ");\r
- PrintValue64(gHob->NvFtwWorking.FvbInfo.Entries[0].Length);\r
- PrintString("\n");\r
- PrintString("NvFtwSpare = ");\r
- PrintValue64(gHob->NvFtwSpare.FvbInfo.Entries[0].Base);\r
- PrintString(" Length = ");\r
- PrintValue64(gHob->NvFtwSpare.FvbInfo.Entries[0].Length);\r
- PrintString("\n");\r
- PrintString("Stack = "); \r
- PrintValue64(gHob->Stack.AllocDescriptor.MemoryBaseAddress);\r
- PrintString(" StackLength = "); \r
- PrintValue64(gHob->Stack.AllocDescriptor.MemoryLength);\r
- PrintString("\n"); \r
- PrintString("PageTable = "); \r
- PrintValue64((UINTN)PageTableBase);\r
- PrintString("\n"); \r
- PrintString("MemoryFreeUnder1MB = "); \r
- PrintValue64(gHob->MemoryFreeUnder1MB.PhysicalStart);\r
- PrintString(" MemoryFreeUnder1MBLength = "); \r
- PrintValue64(gHob->MemoryFreeUnder1MB.ResourceLength);\r
- PrintString("\n"); \r
- PrintString("MemoryAbove1MB = "); \r
- PrintValue64(gHob->MemoryAbove1MB.PhysicalStart);\r
- PrintString(" MemoryAbove1MBLength = "); \r
- PrintValue64(gHob->MemoryAbove1MB.ResourceLength);\r
- PrintString("\n"); \r
- PrintString("MemoryAbove4GB = "); \r
- PrintValue64(gHob->MemoryAbove4GB.PhysicalStart);\r
- PrintString(" MemoryAbove4GBLength = "); \r
- PrintValue64(gHob->MemoryAbove4GB.ResourceLength);\r
- PrintString("\n"); \r
- PrintString("DxeCore = "); \r
- PrintValue64(gHob->DxeCore.MemoryAllocationHeader.MemoryBaseAddress);\r
- PrintString(" DxeCoreLength = "); \r
- PrintValue64(gHob->DxeCore.MemoryAllocationHeader.MemoryLength);\r
- PrintString("\n"); \r
- PrintString("MemoryAllocation = "); \r
- PrintValue64(gHob->MemoryAllocation.AllocDescriptor.MemoryBaseAddress);\r
- PrintString(" MemoryLength = "); \r
- PrintValue64(gHob->MemoryAllocation.AllocDescriptor.MemoryLength);\r
- PrintString("\n"); \r
- EFI_DEADLOOP();\r
-*/\r
+ PrintString (\r
+ "HobStart = %p\n"\r
+ "Memory Top = %lx, Bottom = %lx\n"\r
+ "Free Memory Top = %lx, Bottom = %lx\n"\r
+ "NvStorageFvb = %p, Length = %x\n"\r
+ "BfvResource = %lx, Length = %lx\n"\r
+ "NvStorageFvResource = %lx, Length = %lx\n"\r
+ "NvStorage = %lx, Length = %lx\n"\r
+ "NvFtwFvResource = %lx, Length = %lx\n"\r
+ "NvFtwWorking = %lx, Length = %lx\n"\r
+ "NvFtwSpare = %lx, Length = %lx\n"\r
+ "Stack = %lx, StackLength = %lx\n"\r
+ "PageTable = %p\n"\r
+ "MemoryFreeUnder1MB = %lx, MemoryFreeUnder1MBLength = %lx\n"\r
+ "MemoryAbove1MB = %lx, MemoryAbove1MBLength = %lx\n"\r
+ "MemoryAbove4GB = %lx, MemoryAbove4GBLength = %lx\n"\r
+ "DxeCore = %lx, DxeCoreLength = %lx\n"\r
+ "MemoryAllocation = %lx, MemoryLength = %lx\n"\r
+ "$",\r
+ gHob,\r
+ gHob->Phit.EfiMemoryTop, gHob->Phit.EfiMemoryBottom,\r
+ gHob->Phit.EfiFreeMemoryTop, gHob->Phit.EfiFreeMemoryBottom,\r
+ gHob->NvStorageFvb.FvbInfo.Entries[0].Base, (UINTN) gHob->NvFtwFvb.FvbInfo.Entries[0].Length,\r
+ gHob->BfvResource.PhysicalStart, gHob->BfvResource.ResourceLength,\r
+ gHob->NvStorageFvResource.PhysicalStart, gHob->NvStorageFvResource.ResourceLength,\r
+ gHob->NvStorage.FvbInfo.Entries[0].Base, gHob->NvStorage.FvbInfo.Entries[0].Length,\r
+ gHob->NvFtwFvResource.PhysicalStart, gHob->NvFtwFvResource.ResourceLength,\r
+ gHob->NvFtwWorking.FvbInfo.Entries[0].Base, gHob->NvFtwWorking.FvbInfo.Entries[0].Length,\r
+ gHob->NvFtwSpare.FvbInfo.Entries[0].Base, gHob->NvFtwSpare.FvbInfo.Entries[0].Length,\r
+ gHob->Stack.AllocDescriptor.MemoryBaseAddress, gHob->Stack.AllocDescriptor.MemoryLength,\r
+ PageTableBase,\r
+ gHob->MemoryFreeUnder1MB.PhysicalStart, gHob->MemoryFreeUnder1MB.ResourceLength,\r
+ gHob->MemoryAbove1MB.PhysicalStart, gHob->MemoryAbove1MB.ResourceLength,\r
+ gHob->MemoryAbove4GB.PhysicalStart, gHob->MemoryAbove4GB.ResourceLength,\r
+ gHob->DxeCore.MemoryAllocationHeader.MemoryBaseAddress, gHob->DxeCore.MemoryAllocationHeader.MemoryLength,\r
+ gHob->MemoryAllocation.AllocDescriptor.MemoryBaseAddress, gHob->MemoryAllocation.AllocDescriptor.MemoryLength\r
+ );\r