Home | History | Annotate | Download | only in Ebl

Lines Matching defs:Hob

2   Hob command for EBL (Embedded Boot Loader)

16 Module Name: Hob.c
36 Mem Alloc HOB Type:
56 Resource Hob Tye:
67 Resource Hob Attribute (last thing printed):
110 Argv[0] - "hob"
127 EFI_PEI_HOB_POINTERS Hob;
132 for (Hob.Raw = GetHobList (); !END_OF_HOB_LIST(Hob); Hob.Raw = GET_NEXT_HOB(Hob)) {
133 if (Hob.Header->HobType == EFI_HOB_TYPE_HANDOFF) {
134 AsciiPrint ("PHIT HOB Ver %x Boot Mode %02x Top %lx Bottom %lx\n",
135 Hob.HandoffInformationTable->Version,
136 Hob.HandoffInformationTable->BootMode,
137 Hob.HandoffInformationTable->EfiMemoryTop,
138 Hob.HandoffInformationTable->EfiMemoryBottom
145 AsciiPrint (" Free Top %lx Free Bottom %lx End Of HOB %lx\n",
146 Hob.HandoffInformationTable->EfiFreeMemoryTop,
147 Hob.HandoffInformationTable->EfiFreeMemoryBottom,
148 Hob.HandoffInformationTable->EfiEndOfHobList
151 } else if (Hob.Header->HobType == EFI_HOB_TYPE_MEMORY_ALLOCATION) {
153 AsciiPrint ("Mem Alloc HOB %a %g %08lx:%lx\n",
154 (Hob.MemoryAllocation->AllocDescriptor.MemoryType < EfiMaxMemoryType) ? gMemMapType[Hob.MemoryAllocation->AllocDescriptor.MemoryType] : "ILLEGAL TYPE",
155 &Hob.MemoryAllocation->AllocDescriptor.Name,
156 Hob.MemoryAllocation->AllocDescriptor.MemoryBaseAddress,
157 Hob.MemoryAllocation->AllocDescriptor.MemoryLength
159 if (CompareGuid (&gEfiHobMemoryAllocModuleGuid, &Hob.MemoryAllocation->AllocDescriptor.Name)) {
163 AsciiPrint (" Module Name %g EntryPoint %lx\n", &Hob.MemoryAllocationModule->ModuleName, Hob.MemoryAllocationModule->EntryPoint);
165 } else if (Hob.Header->HobType == EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) {
166 AsciiPrint ("Resource HOB %a %g %08lx:%lx\n Attributes: %08x\n",
167 (Hob.ResourceDescriptor->ResourceType < EFI_RESOURCE_MAX_MEMORY_TYPE) ? mHobResourceType[Hob.ResourceDescriptor->ResourceType] : mHobResourceType[EFI_RESOURCE_MAX_MEMORY_TYPE],
168 &Hob.ResourceDescriptor->Owner,
169 Hob.ResourceDescriptor->PhysicalStart,
170 Hob.ResourceDescriptor->ResourceLength,
171 Hob.ResourceDescriptor->ResourceAttribute
176 } else if (Hob.Header->HobType == EFI_HOB_TYPE_GUID_EXTENSION) {
177 AsciiPrint ("GUID HOB %g\n", &Hob.Guid->Name);
178 if (CompareGuid (&gEfiMemoryTypeInformationGuid, &Hob.Guid->Name)) {
179 EfiMemoryTypeInformation = GET_GUID_HOB_DATA (Hob.Guid);
180 for (Index = 0; Index < (GET_GUID_HOB_DATA_SIZE (Hob.Guid)/sizeof (EFI_MEMORY_TYPE_INFORMATION)); Index++, EfiMemoryTypeInformation++) {
190 } else if (Hob.Header->HobType == EFI_HOB_TYPE_FV) {
191 AsciiPrint ("FV HOB %08lx:%08lx\n", Hob.FirmwareVolume->BaseAddress, Hob.FirmwareVolume->Length);
192 } else if (Hob.Header->HobType == EFI_HOB_TYPE_CPU) {
193 AsciiPrint ("CPU HOB: Mem %x IO %x\n", Hob.Cpu->SizeOfMemorySpace, Hob.Cpu->SizeOfIoSpace);
194 } else if (Hob.Header->HobType == EFI_HOB_TYPE_MEMORY_POOL) {
195 AsciiPrint ("Mem Pool HOB:\n");
197 } else if (Hob.Header->HobType == EFI_HOB_TYPE_CV) {
198 AsciiPrint ("CV HOB: %08lx:%08lx\n", Hob.CapsuleVolume->BaseAddress, Hob.CapsuleVolume->Length);
214 "hob",