HomeSort by relevance Sort by last modified time
    Searched refs:Hob (Results 1 - 25 of 111) sorted by null

1 2 3 4 5

  /device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
Hob.c 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)) {
    [all...]
  /device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseFspPlatformLib/
FspPlatformMemory.c 37 EFI_PEI_HOB_POINTERS Hob;
40 // Get the HOB list for processing
42 Hob.Raw = GetHobList ();
47 while (!END_OF_HOB_LIST (Hob)) {
48 if (Hob.Header->HobType == EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) {
49 if ((Hob.ResourceDescriptor->ResourceType == EFI_RESOURCE_MEMORY_RESERVED) && \
50 (CompareGuid (&Hob.ResourceDescriptor->Owner, OwnerGuid))) {
51 return Hob.ResourceDescriptor;
54 Hob.Raw = GET_NEXT_HOB (Hob);
    [all...]
  /device/linaro/bootloader/edk2/DuetPkg/DxeIpl/
LegacyTable.h 28 IN HOB_TEMPLATE *Hob
PpisNeededByDxeCore.c 28 IN HOB_TEMPLATE *Hob
39 Phit (HOB list) directly
43 HobStart - Pointer to the beginning of the HOB List from PEI
54 Hob->SerialStatusCode.Interface = (EFI_PHYSICAL_ADDRESS) (UINTN) ReportStatusCode;
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Guid/Hob/
Hob.c 14 Hob.c
18 GUIDs used for HOB List in the EFI 1.0 system table
20 These GUIDs point the HOB List passed in from PEI to DXE.
25 #include EFI_GUID_DEFINITION (Hob)
29 EFI_GUID_STRING(&gEfiHobListGuid, "HOB List", "HOB List GUID in EFI System Table");
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/
RtMemoryStatusCode.h 49 #include EFI_GUID_DEFINITION (Hob)
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/
HobLib.c 19 HOB Library.
26 Returns the pointer to the HOB list.
28 This function returns the pointer to first HOB in the list.
30 @return The pointer to the HOB list.
50 Returns the next instance of a HOB type from the starting HOB.
52 This function searches the first instance of a HOB type from the starting HOB pointer.
53 If there does not exist such HOB type from the starting HOB pointer, it will return NULL.
    [all...]
  /device/linaro/bootloader/edk2/EmbeddedPkg/Library/LzmaHobCustomDecompressLib/
LzmaHobCustomDecompressLib.c 36 EXTRACT_SECTION_HOB *Hob;
38 Hob = GetFirstGuidHob (&gLzmaCustomDecompressGuid);
39 if (Hob == NULL) {
43 // Locate Guided Hob
47 Hob->Data.SectionGetInfo,
48 Hob->Data.SectionExtraction
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
FindFv.c 19 Library function to find fv by hob.
40 This function returns the first instance of a HOB type in a HOB list.
44 Type The HOB type to return.
45 HobStart The first HOB in the HOB list.
50 else Returns the first HOB with the matching type.
54 EFI_PEI_HOB_POINTERS Hob;
56 Hob.Raw = HobStart;
65 // Parse the HOB list, stop if end of list or matching type found.
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Hob/
Hob.c 14 hob.c
40 Builds a HOB for a loaded PE32 module
53 EFI_SUCCESS - Hob is successfully built.
54 Others - Errors occur while creating new Hob
59 EFI_HOB_MEMORY_ALLOCATION_MODULE *Hob;
65 (VOID **) &Hob
71 Hob->MemoryAllocationHeader.Name = gEfiHobMemeryAllocModuleGuid;
72 Hob->MemoryAllocationHeader.MemoryBaseAddress = MemoryAllocationModule;
73 Hob->MemoryAllocationHeader.MemoryLength = ModuleLength;
74 Hob->MemoryAllocationHeader.MemoryType = EfiBootServicesCode;
    [all...]
  /device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiHobLib/
Hob.c 36 Returns the pointer to the HOB list.
38 This function returns the pointer to first HOB in the list.
40 @return The pointer to the HOB list.
55 Updates the pointer to the HOB list.
57 @param HobList Hob list pointer to store
81 EFI_HOB_HANDOFF_INFO_TABLE *Hob;
84 Hob = EfiFreeMemoryBottom;
85 HobEnd = (EFI_HOB_GENERIC_HEADER *)(Hob+1);
87 Hob->Header.HobType = EFI_HOB_TYPE_HANDOFF;
88 Hob->Header.HobLength = sizeof(EFI_HOB_HANDOFF_INFO_TABLE);
    [all...]
  /device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiLib/
PrePi.h 35 #define GET_HOB_TYPE(Hob) ((Hob).Header->HobType)
36 #define GET_HOB_LENGTH(Hob) ((Hob).Header->HobLength)
37 #define GET_NEXT_HOB(Hob) ((Hob).Raw + GET_HOB_LENGTH (Hob))
38 #define END_OF_HOB_LIST(Hob) (GET_HOB_TYPE (Hob) == EFI_HOB_TYPE_END_OF_HOB_LIST)
  /device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/PeiHobLibFramework/
HobLib.c 2 Instance of HOB Library using PEI Services.
4 HOB Library implementation that uses PEI Services to retrieve the HOB List.
5 This library instance uses EFI_HOB_TYPE_CV defined in Intel framework HOB specification v0.9
29 Returns the pointer to the HOB list.
31 This function returns the pointer to first HOB in the list.
33 to the HOB list. For the DXE phase, the HOB list pointer can be retrieved through
37 to manage the pointer to the HOB list.
39 If the pointer to the HOB list is NULL, then ASSERT().
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Library/PeiHobLib/
HobLib.c 2 Provide Hob Library functions for Pei phase.
25 Returns the pointer to the HOB list.
27 This function returns the pointer to first HOB in the list.
29 to the HOB list. For the DXE phase, the HOB list pointer can be retrieved through
33 to manage the pointer to the HOB list.
35 If the pointer to the HOB list is NULL, then ASSERT().
37 @return The pointer to the HOB list.
57 Returns the next instance of a HOB type from the starting HOB.
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/Hob/
PeiHobLib.c 38 Builds an end of HOB list HOB
42 HobStart - The HOB to build
46 A pointer to the next HOB
50 EFI_PEI_HOB_POINTERS Hob;
52 Hob.Raw = HobStart;
54 Hob.Header->HobType = EFI_HOB_TYPE_END_OF_HOB_LIST;
55 Hob.Header->HobLength = (UINT16) sizeof (EFI_HOB_GENERIC_HEADER);
57 Hob.Header++;
58 return Hob;
    [all...]
  /device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/Library/PeiFspWrapperApiTestLib/
FspWrapperApiTest.c 37 EFI_PEI_HOB_POINTERS Hob;
39 Hob.Raw = (UINT8 *)(*(HobListPtr));
41 if (END_OF_HOB_LIST(Hob) == TRUE) {
45 if ((CompareGuid (&Hob.ResourceDescriptor->Owner, &gFspBootLoaderTolumHobGuid))) {
48 SetMem ((VOID *)(UINTN)Hob.ResourceDescriptor->PhysicalStart, (UINTN)Hob.ResourceDescriptor->ResourceLength, 0x5A);
51 Hob.Raw = GET_NEXT_HOB (Hob);
  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Hob/
Hob.c 19 Gets the pointer to the HOB List.
22 @param HobList Pointer to the HOB List.
24 @retval EFI_SUCCESS Get the pointer of HOB List
25 @retval EFI_NOT_AVAILABLE_YET the HOB List is not yet published
57 Add a new HOB to the HOB List.
60 @param Type Type of the new HOB.
61 @param Length Length of the new HOB to allocate.
62 @param Hob Pointer to the new HOB.
    [all...]
  /device/linaro/bootloader/edk2/ArmPkg/Drivers/CpuDxe/
CpuMpCore.c 41 * @param: HobStart Pointer to the beginning of the HOB List from PEI.
43 * Description : This function iterates through HOB list and finds ARM processor Table Entry HOB.
44 * If the ARM processor Table Entry HOB is found, the HOB data is copied to run-time memory
54 EFI_PEI_HOB_POINTERS Hob;
56 Hob.Raw = GetHobList ();
58 // Iterate through the HOBs and find if there is ARM PROCESSOR ENTRY HOB
59 for (; !END_OF_HOB_LIST(Hob); Hob.Raw = GET_NEXT_HOB(Hob)) {
    [all...]
  /device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiMemoryAllocationLib/
MemoryAllocationLib.c 43 EFI_PEI_HOB_POINTERS Hob;
46 Hob.Raw = GetHobList ();
49 Offset = Hob.HandoffInformationTable->EfiFreeMemoryTop & 0xFFF;
52 Hob.HandoffInformationTable->EfiFreeMemoryTop -= Offset;
58 if (Hob.HandoffInformationTable->EfiFreeMemoryTop - ((Pages * EFI_PAGE_SIZE) + sizeof (EFI_HOB_MEMORY_ALLOCATION)) < Hob.HandoffInformationTable->EfiFreeMemoryBottom) {
64 Hob.HandoffInformationTable->EfiFreeMemoryTop -= Pages * EFI_PAGE_SIZE;
66 // This routine used to create a memory allocation HOB a la PEI, but that's not
70 // Create a memory allocation HOB.
73 Hob.HandoffInformationTable->EfiFreeMemoryTop,
    [all...]
  /device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/
FspWrapperHobProcessLibSample.c 2 Sample to provide FSP wrapper hob process related function.
50 EFI_PEI_HOB_POINTERS Hob;
56 Status = (*PeiServices)->GetHobList ((CONST EFI_PEI_SERVICES**)PeiServices, (VOID **) &Hob.Raw);
58 while (!END_OF_HOB_LIST (Hob)) {
59 if (Hob.Header->HobType == EFI_HOB_TYPE_GUID_EXTENSION &&
60 CompareGuid (&Hob.Guid->Name, &gEfiMemoryTypeInformationGuid)) {
61 MemoryData = (EFI_MEMORY_TYPE_INFORMATION *) (Hob.Raw + sizeof (EFI_HOB_GENERIC_HEADER) + sizeof (EFI_GUID));
65 Hob.Raw = GET_NEXT_HOB (Hob);
137 Post FSP-M HOB process for Memory Resource Descriptor.
    [all...]
  /device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/PeiFspHobProcessLibSample/
FspHobProcessLibSample.c 2 Sample to provide FSP hob process related function.
49 EFI_PEI_HOB_POINTERS Hob;
55 (*PeiServices)->GetHobList ((CONST EFI_PEI_SERVICES**)PeiServices, (VOID **) &Hob.Raw);
56 while (!END_OF_HOB_LIST (Hob)) {
57 if (Hob.Header->HobType == EFI_HOB_TYPE_GUID_EXTENSION &&
58 CompareGuid (&Hob.Guid->Name, &gEfiMemoryTypeInformationGuid)) {
59 MemoryData = (EFI_MEMORY_TYPE_INFORMATION *) (Hob.Raw + sizeof (EFI_HOB_GENERIC_HEADER) + sizeof (EFI_GUID));
63 Hob.Raw = GET_NEXT_HOB (Hob);
137 @param[in] FspHobList Pointer to the HOB data structure produced by FSP.
    [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FspSupport/Library/PeiFspHobProcessLibVlv2/
FspHobProcessLibVlv2.c 52 EFI_PEI_HOB_POINTERS Hob;
58 (*PeiServices)->GetHobList ((CONST EFI_PEI_SERVICES **)PeiServices, (VOID **) &Hob.Raw);
59 while (!END_OF_HOB_LIST (Hob)) {
60 if (Hob.Header->HobType == EFI_HOB_TYPE_GUID_EXTENSION &&
61 CompareGuid (&Hob.Guid->Name, &gEfiMemoryTypeInformationGuid)) {
62 MemoryData = (EFI_MEMORY_TYPE_INFORMATION *) (Hob.Raw + sizeof (EFI_HOB_GENERIC_HEADER) + sizeof (EFI_GUID));
66 Hob.Raw = GET_NEXT_HOB (Hob);
140 @param FspHobList Pointer to the HOB data structure produced by FSP.
142 @return If platform process the FSP hob list successfully.
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/
ReportStatusCodeRouterPei.c 43 Worker function to create one memory status code GUID'ed HOB,
59 // Build GUID'ed HOB with PCD defined size.
94 EFI_PEI_HOB_POINTERS Hob;
105 Hob.Raw = GetFirstGuidHob (&gStatusCodeCallbackGuid);
108 while (Hob.Raw != NULL) {
109 NumberOfEntries = GET_GUID_HOB_DATA (Hob);
135 Hob.Raw = GET_NEXT_HOB (Hob);
136 Hob.Raw = GetNextGuidHob (&gStatusCodeCallbackGuid, Hob.Raw);
    [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/
MemoryCallback.c 30 5. Create FV HOB and Flash HOB
61 EFI_PEI_HOB_POINTERS Hob;
66 // Get the HOB list for processing
68 Status = (*PeiServices)->GetHobList (PeiServices, (void **)&Hob.Raw);
76 while (!END_OF_HOB_LIST (Hob)) {
77 if (Hob.Header->HobType == EFI_HOB_TYPE_RESOURCE_DESCRIPTOR) {
78 if (Hob.ResourceDescriptor->ResourceType == EFI_RESOURCE_SYSTEM_MEMORY) {
82 if (Hob.ResourceDescriptor->PhysicalStart >= 0x100000 &&
83 Hob.ResourceDescriptor->PhysicalStart < (EFI_PHYSICAL_ADDRESS) 0x100000000) {
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Library/AmdStyxLib/
Styx.c 117 EFI_PEI_HOB_POINTERS Hob;
120 // Iterate through the HOBs and find if there is ARM PROCESSOR ENTRY HOB
121 for (Hob.Raw = GetHobList (); !END_OF_HOB_LIST(Hob); Hob.Raw = GET_NEXT_HOB(Hob)) {
122 // Check for Correct HOB type
123 if ((GET_HOB_TYPE (Hob)) == EFI_HOB_TYPE_GUID_EXTENSION) {
125 if (CompareGuid(&(Hob.Guid->Name), &gAmdStyxMpCoreInfoGuid)) {
126 *ArmCoreInfoTable = (ARM_CORE_INFO *) GET_GUID_HOB_DATA(Hob);
    [all...]

Completed in 495 milliseconds

1 2 3 4 5