HomeSort by relevance Sort by last modified time
    Searched defs:Smbios (Results 1 - 22 of 22) sorted by null

  /device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/
SmbiosMiscEntryPoint.c 3 any generated data using SMBIOS protocol.
33 structure and reports any generated data using SMBIOS protocol.
50 EFI_SMBIOS_PROTOCOL *Smbios;
55 EfiStatus = gBS->LocateProtocol(&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios);
58 DEBUG((EFI_D_ERROR, "Could not locate SMBIOS protocol. %r\n", EfiStatus));
77 Smbios
81 DEBUG((EFI_D_ERROR, "Misc smbios store error. Index=%d, ReturnStatus=%r\n", Index, EfiStatus));
  /device/linaro/bootloader/edk2/EmulatorPkg/PlatformSmbiosDxe/
PlatformSmbiosDxe.c 2 Static SMBIOS Table for platform
17 #include <IndustryStandard/SmBios.h>
18 #include <Protocol/Smbios.h>
59 // if type17 exits update with type16 Smbios handle
98 SMBIOS_STRUCTURE_POINTER Smbios;
100 // Phase 0 - Patch table to make SMBIOS 2.7 structures smaller to conform
103 // Phase 1 - Initialize SMBIOS tables from template
107 // Phase 2 - Patch SMBIOS table entries
109 Smbios.Hdr = SmbiosLibGetRecord (EFI_SMBIOS_TYPE_BIOS_INFORMATION, 0, &SmbiosHandle);
110 if (Smbios.Type0 != NULL)
    [all...]
  /external/syslinux/gnu-efi/gnu-efi-3.0/lib/
smbios.c 7 Smbios.c
11 Lib fucntions for SMBIOS. Used to get system serial number and GUID
28 SMBIOS_STRUCTURE_POINTER Smbios;
37 Smbios.Hdr = (SMBIOS_HEADER *)SmbiosTable->TableAddress;
40 if (Smbios.Hdr->Type == 1) {
41 if (Smbios.Hdr->Length < 0x19) {
49 // SMBIOS tables are byte packed so we need to do a byte copy to
52 CopyMem (SystemGuid, &Smbios.Type1->Uuid, sizeof(EFI_GUID));
53 *SystemSerialNumber = LibGetSmbiosString(&Smbios, Smbios.Type1->SerialNumber)
    [all...]
  /device/linaro/bootloader/edk2/EmulatorPkg/MiscSubClassPlatformDxe/
MiscSubclassDriverEntryPoint.c 49 EFI_SMBIOS_PROTOCOL *Smbios;
52 Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios);
92 Status = AddSmbiosRecord (Smbios, &MemArrayMappedAddrSmbiosHandle, (EFI_SMBIOS_TABLE_HEADER*) Type19Record);
130 EFI_SMBIOS_PROTOCOL *Smbios;
132 EfiStatus = gBS->LocateProtocol(&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios);
135 DEBUG((EFI_D_ERROR, "Could not locate SMBIOS protocol. %r\n", EfiStatus));
154 Smbios
158 DEBUG((EFI_D_ERROR, "Misc smbios store error. Index=%d, ReturnStatus=%r\n", Index, EfiStatus));
165 // Log Memory SMBIOS Record
172 Add an SMBIOS record.
    [all...]
  /device/linaro/bootloader/edk2/Nt32Pkg/MiscSubClassPlatformDxe/
MiscSubclassDriverEntryPoint.c 49 EFI_SMBIOS_PROTOCOL *Smbios;
52 Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios);
92 Status = AddSmbiosRecord (Smbios, &MemArrayMappedAddrSmbiosHandle, (EFI_SMBIOS_TABLE_HEADER*) Type19Record);
130 EFI_SMBIOS_PROTOCOL *Smbios;
132 EfiStatus = gBS->LocateProtocol(&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios);
135 DEBUG((EFI_D_ERROR, "Could not locate SMBIOS protocol. %r\n", EfiStatus));
154 Smbios
158 DEBUG((EFI_D_ERROR, "Misc smbios store error. Index=%d, ReturnStatus=%r\n", Index, EfiStatus));
165 // Log Memory SMBIOS Record
172 Add an SMBIOS record.
    [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/
MiscSubclassDriverEntryPoint.c 134 EFI_SMBIOS_PROTOCOL *Smbios;
161 (VOID**)&Smbios
165 DEBUG((EFI_D_ERROR, "Could not locate SMBIOS protocol. %r\n", EfiStatus));
184 Smbios
188 DEBUG((EFI_D_ERROR, "Misc smbios store error. Index=%d, ReturnStatus=%r\n", Index, EfiStatus));
MiscSystemManufacturerFunction.c 41 Publish the smbios type 1.
75 EFI_SMBIOS_PROTOCOL *Smbios;
92 Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID *) &Smbios);
259 // Make handle chosen by smbios protocol.add automatically.
306 // Now we have got the full smbios record, call smbios protocol to add this record.
309 Status = Smbios-> Add(
310 Smbios,
340 DEBUG ((EFI_D_INFO, "Create Smbios Manu callback.\n"));
  /device/linaro/bootloader/edk2/OvmfPkg/SmbiosPlatformDxe/
SmbiosPlatformDxe.c 2 This driver installs SMBIOS information for OVMF
24 // Type definition and contents of the default Type 0 SMBIOS table.
68 Get SMBIOS record length.
70 @param SmbiosTable SMBIOS pointer.
84 // Each structure shall be terminated by a double-null (SMBIOS spec.7.1)
96 Install all structures from the given SMBIOS structures block
98 @param Smbios SMBIOS protocol
99 @param TableAddress SMBIOS tables starting address
104 IN EFI_SMBIOS_PROTOCOL *Smbios,
    [all...]
  /device/linaro/bootloader/edk2/DuetPkg/SmbiosGenDxe/
SmbiosGen.c 47 IN VOID *Smbios
58 SmbiosTable = GetSmbiosTableFromType ((SMBIOS_TABLE_ENTRY_POINT *)Smbios, 4, 0);
65 // Log Smbios Record Type4
88 IN VOID *Smbios
96 IN VOID *Smbios
104 SmbiosTable = GetSmbiosTableFromType ((SMBIOS_TABLE_ENTRY_POINT *)Smbios, 19, 0);
111 // Record Smbios Type 19
119 IN VOID *Smbios
130 SmbiosTable = GetSmbiosTableFromType ((SMBIOS_TABLE_ENTRY_POINT *)Smbios, 0, 0);
160 SmbiosTable = GetSmbiosTableFromType ((SMBIOS_TABLE_ENTRY_POINT *)Smbios, 1, 0);
    [all...]
  /device/linaro/bootloader/edk2/Nt32Pkg/CpuRuntimeDxe/
Cpu.c 390 Logs SMBIOS record.
392 @param Smbios Pointer to SMBIOS protocol instance.
398 IN EFI_SMBIOS_PROTOCOL *Smbios,
406 Status = Smbios->Add (
407 Smbios,
423 This function will log processor version and frequency data to Smbios.
436 EFI_SMBIOS_PROTOCOL *Smbios;
445 // Locate Smbios protocol.
447 Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID **)&Smbios);
    [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/
LibSmbiosView.c 2 API for SMBIOS table.
17 #include <Guid/SmBios.h>
31 Init the SMBIOS VIEW API's environment.
33 @retval EFI_SUCCESS Successful to init the SMBIOS VIEW Lib.
49 // Get SMBIOS table from System Configure table
62 // Init SMBIOS structure table address
71 Init the SMBIOS VIEW API's environment.
73 @retval EFI_SUCCESS Successful to init the SMBIOS VIEW Lib.
89 // Get SMBIOS table from System Configure table
102 // Init SMBIOS structure table address
    [all...]
SmbiosView.c 2 Tools of clarify the content of the smbios table.
153 // Show SMBIOS structure information
193 // Show SMBIOS structure information
233 Query all structures Data from SMBIOS table and Display
242 @retval EFI_BAD_BUFFER_SIZE structure is out of the range of SMBIOS table.
270 // Have got SMBIOS table
407 Query all structures Data from SMBIOS table and Display
416 @retval EFI_BAD_BUFFER_SIZE structure is out of the range of SMBIOS table.
443 // Have got SMBIOS table
668 @param[in] Smbios64EntryPoint SMBIOS 64-bit entry point.
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/
ConvLib.c 3 to PI SMBIOS's record.
23 @param Offset Offset of SMBIOS record which RecordData will be filled.
27 @retval EFI_SUCCESS Success fill RecordData into SMBIOS's record buffer.
43 // Swap two fields because of inconsistency between smbios and datahub specs
66 @param Offset Offset of SMBIOS record which RecordData will be filled.
70 @retval EFI_SUCCESS Success fill RecordData into SMBIOS's record buffer.
102 Enlarge the structure buffer of a structure node in SMBIOS database.
103 The function maybe lead the structure pointer for SMBIOS record changed.
106 @param NewLength The new length of SMBIOS record which does not include unformat area.
107 @param OldBufferSize The old size of SMBIOS record buffer.
    [all...]
Translate.c 2 Translate the DataHub records via EFI_DATA_HUB_PROTOCOL to Smbios recorders
30 EFI_SMBIOS_PROTOCOL *Smbios;
33 Smbios = GetSmbiosProtocol();
34 ASSERT (Smbios != NULL);
35 Smbios->Remove (Smbios, StructureNode->SmbiosHandle);
41 to SMBIOS record.
99 // this means this data record cannot be used for SMBIOS.
228 // Temporary cache the structrue pointer to Smbios database.
246 // Re-calculate the structure pointer to Smbios database.
    [all...]
  /device/linaro/bootloader/edk2/EmulatorPkg/CpuRuntimeDxe/
Cpu.c 140 Create SMBIOS record.
142 Converts a fixed SMBIOS structure and an array of pointers to strings into
143 an SMBIOS record where the strings are cat'ed on the end of the fixed record
144 and terminated via a double NULL and add to SMBIOS table.
161 @param Template Fixed SMBIOS structure, required.
162 @param StringArray Array of strings to convert to an SMBIOS string pack.
173 EFI_SMBIOS_PROTOCOL *Smbios;
182 // Locate Smbios protocol.
184 Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID **)&Smbios);
224 Status = Smbios->Add (
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/SmbiosDxe/
SmbiosDxe.h 2 This code supports the implementation of the Smbios protocol
21 #include <Protocol/Smbios.h>
22 #include <IndustryStandard/SmBios.h>
24 #include <Guid/SmBios.h>
41 EFI_SMBIOS_PROTOCOL Smbios;
51 // List of allocated SMBIOS handle.
56 #define SMBIOS_INSTANCE_FROM_THIS(this) CR (this, SMBIOS_INSTANCE, Smbios, SMBIOS_INSTANCE_SIGNATURE)
59 // SMBIOS record Header
61 // An SMBIOS internal Record is an EFI_SMBIOS_RECORD_HEADER followed by (RecordSize - HeaderSize) bytes of
62 // data. The format of the data is defined by the SMBIOS spec.
    [all...]
  /device/linaro/bootloader/edk2/DuetPkg/DxeIpl/
HobGeneration.h 82 TABLE_HOB Smbios;
  /device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/MemorySubClass/
MemorySubClass.c 83 EFI_SMBIOS_PROTOCOL *Smbios;
103 Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios);
120 // This will translate into a Type 16 SMBIOS Record
141 // Report top level physical array to Type 16 SMBIOS Record
166 Status = Smbios->Add (Smbios, NULL, &MemArraySmbiosHandle, (EFI_SMBIOS_TABLE_HEADER*) Type16Record);
174 // Get total memory size for the construction of smbios record type 19
195 Status = Smbios->Add (Smbios, NULL, &MemArrayMappedAddrSmbiosHandle, (EFI_SMBIOS_TABLE_HEADER*) Type19Record);
276 // Report DIMM level memory module information to smbios (Type 6)
    [all...]
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
FrontPage.c 666 Acquire the string associated with the Index from smbios structure and return it.
727 EFI_SMBIOS_PROTOCOL *Smbios;
742 (VOID **) &Smbios
747 Status = Smbios->GetNext (Smbios, &SmbiosHandle, NULL, &Record, NULL);
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Application/UiApp/
FrontPage.c 81 Update the banner information for the Front Page based on Smbios information.
799 Acquire the string associated with the Index from smbios structure and return it.
846 Update the banner information for the Front Page based on Smbios information.
860 EFI_SMBIOS_PROTOCOL *Smbios;
875 (VOID **) &Smbios
883 Status = Smbios->GetNext (Smbios, &SmbiosHandle, NULL, &Record, NULL);
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/
DxeNetLib.c 17 #include <IndustryStandard/SmBios.h>
27 #include <Guid/SmBios.h>
    [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/
SetupInfoRecords.c 45 #include <Protocol/Smbios.h>
46 #include <IndustryStandard/SmBios.h>
167 Acquire the string associated with the Index from smbios structure and return it.
803 Routine Description: update the SETUP info for "Additional Information" which is SMBIOS info.
819 EFI_SMBIOS_PROTOCOL *Smbios;
877 (VOID **) &Smbios
883 Status = Smbios->GetNext (
884 Smbios,
907 // Check IfwiVersion, to avoid no IFWI version in SMBIOS Type 0 strucntion
    [all...]

Completed in 1640 milliseconds