Home
last modified time | relevance | path

Searched refs:Smbios (Results 1 – 25 of 98) sorted by relevance

1234

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/
DLibSmbiosView.c189 IN SMBIOS_STRUCTURE_POINTER *Smbios, in LibGetSmbiosString() argument
196 ASSERT (Smbios != NULL); in LibGetSmbiosString()
201 String = (CHAR8 *) (Smbios->Raw + Smbios->Hdr->Length); in LibGetSmbiosString()
222 Smbios->Raw = (UINT8 *)++String; in LibGetSmbiosString()
253 SMBIOS_STRUCTURE_POINTER Smbios; in LibGetSmbiosStructure() local
268 Smbios.Hdr = mSmbiosStruct->Hdr; in LibGetSmbiosStructure()
269 SmbiosEnd.Raw = Smbios.Raw + mSmbiosTable->TableLength; in LibGetSmbiosStructure()
270 while (Smbios.Raw < SmbiosEnd.Raw) { in LibGetSmbiosStructure()
271 if (Smbios.Hdr->Handle == *Handle) { in LibGetSmbiosStructure()
272 Raw = Smbios.Raw; in LibGetSmbiosStructure()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/SmbiosGenDxe/
DSmbiosGen.c47 IN VOID *Smbios in InstallProcessorSmbios() argument
58 SmbiosTable = GetSmbiosTableFromType ((SMBIOS_TABLE_ENTRY_POINT *)Smbios, 4, 0); in InstallProcessorSmbios()
88 IN VOID *Smbios in InstallCacheSmbios() argument
96 IN VOID *Smbios in InstallMemorySmbios() argument
104 SmbiosTable = GetSmbiosTableFromType ((SMBIOS_TABLE_ENTRY_POINT *)Smbios, 19, 0); in InstallMemorySmbios()
119 IN VOID *Smbios in InstallMiscSmbios() argument
130 SmbiosTable = GetSmbiosTableFromType ((SMBIOS_TABLE_ENTRY_POINT *)Smbios, 0, 0); in InstallMiscSmbios()
160 SmbiosTable = GetSmbiosTableFromType ((SMBIOS_TABLE_ENTRY_POINT *)Smbios, 1, 0); in InstallMiscSmbios()
198 VOID *Smbios; in SmbiosGenEntrypoint() local
200 Smbios = GetSmbiosTablesFromHob (); in SmbiosGenEntrypoint()
[all …]
DSmbiosGen.h56 IN SMBIOS_TABLE_ENTRY_POINT *Smbios,
76 IN EFI_SMBIOS_PROTOCOL *Smbios,
/device/linaro/bootloader/edk2/Nt32Pkg/MiscSubClassPlatformDxe/
DMiscSubclassDriverEntryPoint.c49 EFI_SMBIOS_PROTOCOL *Smbios; in LogMemorySmbiosRecord() local
52 Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios); in LogMemorySmbiosRecord()
92 …Status = AddSmbiosRecord (Smbios, &MemArrayMappedAddrSmbiosHandle, (EFI_SMBIOS_TABLE_HEADER*) Type… in LogMemorySmbiosRecord()
130 EFI_SMBIOS_PROTOCOL *Smbios; in MiscSubclassDriverEntryPoint() local
132 EfiStatus = gBS->LocateProtocol(&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios); in MiscSubclassDriverEntryPoint()
154 Smbios in MiscSubclassDriverEntryPoint()
187 IN EFI_SMBIOS_PROTOCOL *Smbios, in AddSmbiosRecord() argument
193 return Smbios->Add ( in AddSmbiosRecord()
194 Smbios, in AddSmbiosRecord()
DMiscSubclassDriver.h49 IN EFI_SMBIOS_PROTOCOL *Smbios
89 IN EFI_SMBIOS_PROTOCOL *Smbios \
122 IN EFI_SMBIOS_PROTOCOL *Smbios,
/device/linaro/bootloader/edk2/EmulatorPkg/MiscSubClassPlatformDxe/
DMiscSubclassDriverEntryPoint.c49 EFI_SMBIOS_PROTOCOL *Smbios; in LogMemorySmbiosRecord() local
52 Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios); in LogMemorySmbiosRecord()
92 …Status = AddSmbiosRecord (Smbios, &MemArrayMappedAddrSmbiosHandle, (EFI_SMBIOS_TABLE_HEADER*) Type… in LogMemorySmbiosRecord()
130 EFI_SMBIOS_PROTOCOL *Smbios; in MiscSubclassDriverEntryPoint() local
132 EfiStatus = gBS->LocateProtocol(&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios); in MiscSubclassDriverEntryPoint()
154 Smbios in MiscSubclassDriverEntryPoint()
187 IN EFI_SMBIOS_PROTOCOL *Smbios, in AddSmbiosRecord() argument
193 return Smbios->Add ( in AddSmbiosRecord()
194 Smbios, in AddSmbiosRecord()
DMiscSubClassDriver.h53 IN EFI_SMBIOS_PROTOCOL *Smbios
93 IN EFI_SMBIOS_PROTOCOL *Smbios \
125 IN EFI_SMBIOS_PROTOCOL *Smbios,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/PiSmbiosRecordOnDataHubSmbiosRecordThunk/
DConvLib.c122 EFI_SMBIOS_PROTOCOL *Smbios; in SmbiosEnlargeStructureBuffer() local
127 Smbios = GetSmbiosProtocol(); in SmbiosEnlargeStructureBuffer()
128 ASSERT (Smbios != NULL); in SmbiosEnlargeStructureBuffer()
137 Status = Smbios->Remove (Smbios, StructureNode->SmbiosHandle); in SmbiosEnlargeStructureBuffer()
144 Status = Smbios->Add (Smbios, NULL, &StructureNode->SmbiosHandle, NewRecord); in SmbiosEnlargeStructureBuffer()
175 EFI_SMBIOS_PROTOCOL *Smbios; in SmbiosUpdateStructureBuffer() local
179 Smbios = GetSmbiosProtocol(); in SmbiosUpdateStructureBuffer()
180 ASSERT (Smbios != NULL); in SmbiosUpdateStructureBuffer()
182 Status = Smbios->Remove (Smbios, StructureNode->SmbiosHandle); in SmbiosUpdateStructureBuffer()
188 Status = Smbios->Add (Smbios, NULL, &StructureNode->SmbiosHandle, NewRecord); in SmbiosUpdateStructureBuffer()
[all …]
DTranslate.c30 EFI_SMBIOS_PROTOCOL *Smbios; in ReleaseStructureNode() local
33 Smbios = GetSmbiosProtocol(); in ReleaseStructureNode()
34 ASSERT (Smbios != NULL); in ReleaseStructureNode()
35 Smbios->Remove (Smbios, StructureNode->SmbiosHandle); in ReleaseStructureNode()
448 EFI_SMBIOS_PROTOCOL *Smbios; in SmbiosProtocolCreateRecord() local
458 Smbios = GetSmbiosProtocol(); in SmbiosProtocolCreateRecord()
459 ASSERT (Smbios != NULL); in SmbiosProtocolCreateRecord()
474 Status = Smbios->Add (Smbios, NULL, &StructureNode->SmbiosHandle, BlankRecord); in SmbiosProtocolCreateRecord()
527 EFI_SMBIOS_PROTOCOL* Smbios; in GetSmbiosBufferFromHandle() local
533 Smbios = GetSmbiosProtocol(); in GetSmbiosBufferFromHandle()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/SmbiosPlatformDxe/
DSmbiosPlatformDxe.c104 IN EFI_SMBIOS_PROTOCOL *Smbios, in InstallAllStructures() argument
125 Status = Smbios->Add ( in InstallAllStructures()
126 Smbios, in InstallAllStructures()
148 Status = Smbios->Add ( in InstallAllStructures()
149 Smbios, in InstallAllStructures()
179 EFI_SMBIOS_PROTOCOL *Smbios; in SmbiosTablePublishEntry() local
189 (VOID**)&Smbios in SmbiosTablePublishEntry()
206 Status = InstallAllStructures (Smbios, SmbiosTables); in SmbiosTablePublishEntry()
/device/linaro/bootloader/edk2/IntelSiliconPkg/Library/DxeSmbiosDataHobLib/
DDxeSmbiosDataHobLib.c50 EFI_SMBIOS_PROTOCOL *Smbios; in DxeSmbiosDataHobLibConstructor() local
59 Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID **)&Smbios); in DxeSmbiosDataHobLibConstructor()
60 if (Smbios == NULL) { in DxeSmbiosDataHobLibConstructor()
77 Status = Smbios->Add (Smbios, NULL, &SmbiosHandle, (EFI_SMBIOS_TABLE_HEADER *) RecordPtr); in DxeSmbiosDataHobLibConstructor()
/device/linaro/bootloader/edk2/EmulatorPkg/PlatformSmbiosDxe/
DPlatformSmbiosDxe.c98 SMBIOS_STRUCTURE_POINTER Smbios; in PlatfomrSmbiosDriverEntryPoint() local
109 Smbios.Hdr = SmbiosLibGetRecord (EFI_SMBIOS_TYPE_BIOS_INFORMATION, 0, &SmbiosHandle); in PlatfomrSmbiosDriverEntryPoint()
110 if (Smbios.Type0 != NULL) { in PlatfomrSmbiosDriverEntryPoint()
112 Smbios.Type0->BiosSize = (UINT8)DivU64x32 (FixedPcdGet64 (PcdEmuFirmwareFdSize), 64*1024) - 1; in PlatfomrSmbiosDriverEntryPoint()
116 Smbios.Type0->BiosVersion, in PlatfomrSmbiosDriverEntryPoint()
121 Smbios.Type0->BiosReleaseDate, in PlatfomrSmbiosDriverEntryPoint()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/ARM/Juno/SmbiosPlatformDxe/
DSmbiosPlatformDxe.c727 IN EFI_SMBIOS_PROTOCOL *Smbios, in InstallMemoryStructure() argument
742 Status = Smbios->Add ( in InstallMemoryStructure()
743 Smbios, in InstallMemoryStructure()
758 IN EFI_SMBIOS_PROTOCOL *Smbios, in InstallStructures() argument
769 Status = Smbios->Add ( in InstallStructures()
770 Smbios, in InstallStructures()
790 IN EFI_SMBIOS_PROTOCOL *Smbios in InstallAllStructures() argument
815 Status=InstallStructures (Smbios,DefaultCommonTables); in InstallAllStructures()
818 Status=InstallStructures (Smbios,ExtraTables); in InstallAllStructures()
822 …Status = InstallMemoryStructure ( Smbios, PcdGet64 (PcdSystemMemoryBase), PcdGet64 (PcdSystemMemor… in InstallAllStructures()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/Smbios/AddSmbiosType9/
DAddSmbiosType9.c98 EFI_SMBIOS_PROTOCOL *Smbios; in AddSmbiosType9Entry() local
113 (VOID **) &Smbios in AddSmbiosType9Entry()
123 Status = Smbios->GetNext (Smbios, &SmbiosHandle, &SmbiosType, &Record, NULL); in AddSmbiosType9Entry()
125 Status = Smbios->Remove (Smbios, SmbiosHandle); in AddSmbiosType9Entry()
179 Status = Smbios->Add (Smbios, NULL, &SmbiosHandle, (EFI_SMBIOS_TABLE_HEADER *)SmbiosRecord); in AddSmbiosType9Entry()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/
DSmbiosMiscEntryPoint.c50 EFI_SMBIOS_PROTOCOL *Smbios; in SmbiosMiscEntryPoint() local
55 EfiStatus = gBS->LocateProtocol(&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios); in SmbiosMiscEntryPoint()
77 Smbios in SmbiosMiscEntryPoint()
DMiscBootInformationFunction.c69 Status = Smbios-> Add( in MISC_SMBIOS_TABLE_FUNCTION()
70 Smbios, in MISC_SMBIOS_TABLE_FUNCTION()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/Smbios/SmbiosMiscDxe/
DSmbiosMiscEntryPoint.c66 EFI_SMBIOS_PROTOCOL *Smbios; in SmbiosMiscEntryPoint() local
70 EfiStatus = gBS->LocateProtocol(&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios); in SmbiosMiscEntryPoint()
77 mSmbios = Smbios; in SmbiosMiscEntryPoint()
99 Smbios in SmbiosMiscEntryPoint()
/device/linaro/bootloader/edk2/Nt32Pkg/CpuRuntimeDxe/
DCpu.c398 IN EFI_SMBIOS_PROTOCOL *Smbios, in LogSmbiosData() argument
406 Status = Smbios->Add ( in LogSmbiosData()
407 Smbios, in LogSmbiosData()
436 EFI_SMBIOS_PROTOCOL *Smbios; in CpuUpdateSmbios() local
447 Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID **)&Smbios); in CpuUpdateSmbios()
495 LogSmbiosData(Smbios, (UINT8 *) SmbiosRecord); in CpuUpdateSmbios()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/MemorySubClass/
DMemorySubClass.c83 EFI_SMBIOS_PROTOCOL *Smbios; in MemorySubClassEntryPoint() local
103 Status = gBS->LocateProtocol (&gEfiSmbiosProtocolGuid, NULL, (VOID**)&Smbios); in MemorySubClassEntryPoint()
166 …Status = Smbios->Add (Smbios, NULL, &MemArraySmbiosHandle, (EFI_SMBIOS_TABLE_HEADER*) Type16Record… in MemorySubClassEntryPoint()
195 …Status = Smbios->Add (Smbios, NULL, &MemArrayMappedAddrSmbiosHandle, (EFI_SMBIOS_TABLE_HEADER*) Ty… in MemorySubClassEntryPoint()
328 …Status = Smbios->Add (Smbios, NULL, &MemModuleInfoSmbiosHandle, (EFI_SMBIOS_TABLE_HEADER*) Type6Re… in MemorySubClassEntryPoint()
395 Status = Smbios->Add (Smbios, NULL, &MemDevSmbiosHandle, (EFI_SMBIOS_TABLE_HEADER*) Type17Record); in MemorySubClassEntryPoint()
436 …Status = Smbios->Add (Smbios, NULL, &MemDevMappedAddrSmbiosHandle, (EFI_SMBIOS_TABLE_HEADER*) Type… in MemorySubClassEntryPoint()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/
DMiscMemoryDeviceFunction.c83 IN EFI_SMBIOS_PROTOCOL *Smbios, in GetType16Hndl()
94 Status = Smbios->GetNext ( in GetType16Hndl()
95 Smbios, in GetType16Hndl()
285 GetType16Hndl( Smbios, &Type16Handle);
324 Status = Smbios-> Add(
325 Smbios,
DMiscProcessorInformationFunction.c60 IN EFI_SMBIOS_PROTOCOL *Smbios, in GetCacheHandle()
74 Status = Smbios->GetNext ( in GetCacheHandle()
75 Smbios, in GetCacheHandle()
428 GetCacheHandle( Smbios,1, &L1CacheHandle);
429 GetCacheHandle( Smbios,2, &L2CacheHandle);
430 GetCacheHandle( Smbios,3, &L3CacheHandle);
451 Status = Smbios-> Add(
452 Smbios,
DMiscBootInformationFunction.c88 Status = Smbios-> Add( in MISC_SMBIOS_TABLE_FUNCTION()
89 Smbios, in MISC_SMBIOS_TABLE_FUNCTION()
DMiscSubclassDriverEntryPoint.c134 EFI_SMBIOS_PROTOCOL *Smbios; in MiscSubclassDriverEntryPoint()
161 (VOID**)&Smbios in MiscSubclassDriverEntryPoint()
184 Smbios in MiscSubclassDriverEntryPoint()
DMiscProcessorCacheFunction.c184 Smbios-> Add(
185 Smbios,
201 Smbios-> Add(
202 Smbios,
DMiscPhysicalArrayFunction.c106 Status = Smbios-> Add( in MISC_SMBIOS_TABLE_FUNCTION()
107 Smbios, in MISC_SMBIOS_TABLE_FUNCTION()

1234