/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/ |
D | MiscPhysicalArrayFunction.c | 57 SMBIOS_TABLE_TYPE16 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() 73 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE16) + 1); in MISC_SMBIOS_TABLE_FUNCTION() 74 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE16) + 1); in MISC_SMBIOS_TABLE_FUNCTION() 76 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_PHYSICAL_MEMORY_ARRAY; in MISC_SMBIOS_TABLE_FUNCTION() 77 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE16); in MISC_SMBIOS_TABLE_FUNCTION() 82 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 87 SmbiosRecord->Location = *(UINT8 *) &ForType16InputData ->MemoryArrayLocation; in MISC_SMBIOS_TABLE_FUNCTION() 88 SmbiosRecord->Use = *(UINT8 *) &ForType16InputData ->MemoryArrayUse; in MISC_SMBIOS_TABLE_FUNCTION() 89 SmbiosRecord->MemoryErrorCorrection = *(UINT8 *) &ForType16InputData->MemoryErrorCorrection; in MISC_SMBIOS_TABLE_FUNCTION() 94 SmbiosRecord->MemoryErrorInformationHandle = 0xFFFE; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscResetCapabilitiesFunction.c | 54 SMBIOS_TABLE_TYPE23 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() 70 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE23) + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 71 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE23) + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 73 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_RESET; in MISC_SMBIOS_TABLE_FUNCTION() 74 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE23); in MISC_SMBIOS_TABLE_FUNCTION() 79 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 80 SmbiosRecord->Capabilities = *(UINT8*)&(ForType23InputData->ResetCapabilities); in MISC_SMBIOS_TABLE_FUNCTION() 81 SmbiosRecord->ResetCount = (UINT16)ForType23InputData->ResetCount; in MISC_SMBIOS_TABLE_FUNCTION() 82 SmbiosRecord->ResetLimit = (UINT16)ForType23InputData->ResetLimit; in MISC_SMBIOS_TABLE_FUNCTION() 83 SmbiosRecord->TimerInterval = (UINT16)ForType23InputData->ResetTimerInterval; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscSystemSlotDesignationFunction.c | 55 SMBIOS_TABLE_TYPE9 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() 110 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE9) + SlotDesignationStrLen + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 111 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE9) +SlotDesignationStrLen + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 113 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_SLOTS; in MISC_SMBIOS_TABLE_FUNCTION() 114 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE9); in MISC_SMBIOS_TABLE_FUNCTION() 115 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 116 SmbiosRecord->SlotDesignation = 1; in MISC_SMBIOS_TABLE_FUNCTION() 117 SmbiosRecord->SlotType = (UINT8)ForType9InputData->SlotType; in MISC_SMBIOS_TABLE_FUNCTION() 118 SmbiosRecord->SlotDataBusWidth = (UINT8)ForType9InputData->SlotDataBusWidth; in MISC_SMBIOS_TABLE_FUNCTION() 119 SmbiosRecord->CurrentUsage = (UINT8)ForType9InputData->SlotUsage; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscSystemLanguageStringFunction.c | 54 SMBIOS_TABLE_TYPE13 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() 78 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE13) + StrLeng + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 79 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE13) + StrLeng + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 81 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_BIOS_LANGUAGE_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 82 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE13); in MISC_SMBIOS_TABLE_FUNCTION() 87 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 88 SmbiosRecord->InstallableLanguages = 1; in MISC_SMBIOS_TABLE_FUNCTION() 89 SmbiosRecord->Flags = 1; in MISC_SMBIOS_TABLE_FUNCTION() 90 SmbiosRecord->CurrentLanguages = 1; in MISC_SMBIOS_TABLE_FUNCTION() 91 OptionalStrStart = (CHAR8 *)(SmbiosRecord + 1); in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscChassisManufacturerFunction.c | 68 SMBIOS_TABLE_TYPE3 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() 116 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + VerStrLen + 1 + Serial… in MISC_SMBIOS_TABLE_FUNCTION() 117 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + VerStrLen + 1 + SerialNumStr… in MISC_SMBIOS_TABLE_FUNCTION() 119 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_ENCLOSURE; in MISC_SMBIOS_TABLE_FUNCTION() 120 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE3); in MISC_SMBIOS_TABLE_FUNCTION() 125 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 130 SmbiosRecord->Manufacturer = 1; in MISC_SMBIOS_TABLE_FUNCTION() 131 SmbiosRecord->Type = (UINT8)ForType3InputData->ChassisType.ChassisType; in MISC_SMBIOS_TABLE_FUNCTION() 136 SmbiosRecord->Version = 2; in MISC_SMBIOS_TABLE_FUNCTION() 141 SmbiosRecord->SerialNumber = 3; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscMemoryDeviceFunction.c | 124 SMBIOS_TABLE_TYPE17 *SmbiosRecord; 271 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE17) + MemDeviceStrLen + 1 + MemBankLocatorStr… 272 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE17) + MemDeviceStrLen + 1 + MemBankLocatorStrLen +… 274 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_MEMORY_DEVICE; 275 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE17); 280 SmbiosRecord->Hdr.Handle = 0; 286 SmbiosRecord->MemoryArrayHandle = Type16Handle; 292 SmbiosRecord->TotalWidth = 32; 293 SmbiosRecord->DataWidth = 32; 294 SmbiosRecord->Size = MemInfoHob->MemInfoData.dimmSize[Dimm]; [all …]
|
D | MiscPortInternalConnectorDesignatorFunction.c | 85 SMBIOS_TABLE_TYPE8 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() 134 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE8) + InternalRefStrLen + 1 + ExternalRefStrLe… in MISC_SMBIOS_TABLE_FUNCTION() 135 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE8) + InternalRefStrLen + 1 + ExternalRefStrLen + 1 … in MISC_SMBIOS_TABLE_FUNCTION() 137 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_PORT_CONNECTOR_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 138 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE8); in MISC_SMBIOS_TABLE_FUNCTION() 143 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 144 SmbiosRecord->InternalReferenceDesignator = 1; in MISC_SMBIOS_TABLE_FUNCTION() 145 SmbiosRecord->InternalConnectorType = (UINT8)ForType8InputData->PortInternalConnectorType; in MISC_SMBIOS_TABLE_FUNCTION() 146 SmbiosRecord->ExternalReferenceDesignator = 2; in MISC_SMBIOS_TABLE_FUNCTION() 147 SmbiosRecord->ExternalConnectorType = (UINT8)ForType8InputData->PortExternalConnectorType; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
/device/linaro/bootloader/edk2/EmulatorPkg/MiscSubClassPlatformDxe/ |
D | MiscSystemSlotDesignationFunction.c | 35 SMBIOS_TABLE_TYPE9 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 66 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE9) + SlotDesignationStrLen + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 67 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE9) +SlotDesignationStrLen + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 69 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_SLOTS; in MISC_SMBIOS_TABLE_FUNCTION() 70 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE9); in MISC_SMBIOS_TABLE_FUNCTION() 71 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 72 SmbiosRecord->SlotDesignation = 1; in MISC_SMBIOS_TABLE_FUNCTION() 73 SmbiosRecord->SlotType = ForType9InputData->SlotType; in MISC_SMBIOS_TABLE_FUNCTION() 74 SmbiosRecord->SlotDataBusWidth = ForType9InputData->SlotDataBusWidth; in MISC_SMBIOS_TABLE_FUNCTION() 75 SmbiosRecord->CurrentUsage = ForType9InputData->SlotUsage; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscResetCapabilitiesFunction.c | 32 SMBIOS_TABLE_TYPE23 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 48 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE23) + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 49 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE23) + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 51 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_RESET; in MISC_SMBIOS_TABLE_FUNCTION() 52 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE23); in MISC_SMBIOS_TABLE_FUNCTION() 56 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 57 SmbiosRecord->Capabilities = *(UINT8*)&(ForType23InputData->ResetCapabilities); in MISC_SMBIOS_TABLE_FUNCTION() 58 SmbiosRecord->ResetCount = (UINT16)ForType23InputData->ResetCount; in MISC_SMBIOS_TABLE_FUNCTION() 59 SmbiosRecord->ResetLimit = (UINT16)ForType23InputData->ResetLimit; in MISC_SMBIOS_TABLE_FUNCTION() 60 SmbiosRecord->TimerInterval = (UINT16)ForType23InputData->ResetTimerInterval; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscChassisManufacturerFunction.c | 43 SMBIOS_TABLE_TYPE3 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 86 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + VerStrLen + 1 + Serial… in MISC_SMBIOS_TABLE_FUNCTION() 87 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + VerStrLen + 1 + SerialNumStr… in MISC_SMBIOS_TABLE_FUNCTION() 89 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_ENCLOSURE; in MISC_SMBIOS_TABLE_FUNCTION() 90 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE3); in MISC_SMBIOS_TABLE_FUNCTION() 94 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 98 SmbiosRecord->Manufacturer = 1; in MISC_SMBIOS_TABLE_FUNCTION() 99 SmbiosRecord->Type = (UINT8)ForType3InputData->ChassisType.ChassisType; in MISC_SMBIOS_TABLE_FUNCTION() 103 SmbiosRecord->Version = 2; in MISC_SMBIOS_TABLE_FUNCTION() 107 SmbiosRecord->SerialNumber = 3; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscSystemLanguageStringFunction.c | 32 SMBIOS_TABLE_TYPE13 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 56 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE13) + StrLeng + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 57 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE13) + StrLeng + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 59 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_BIOS_LANGUAGE_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 60 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE13); in MISC_SMBIOS_TABLE_FUNCTION() 64 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 65 SmbiosRecord->InstallableLanguages = 1; in MISC_SMBIOS_TABLE_FUNCTION() 66 SmbiosRecord->Flags = 1; in MISC_SMBIOS_TABLE_FUNCTION() 67 SmbiosRecord->CurrentLanguages = 1; in MISC_SMBIOS_TABLE_FUNCTION() 68 OptionalStrStart = (CHAR8 *)(SmbiosRecord + 1); in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscBiosVendorFunction.c | 98 SMBIOS_TABLE_TYPE0 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 147 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE0) + VendorStrLen + 1 + VerStrLen + 1 + DateS… in MISC_SMBIOS_TABLE_FUNCTION() 148 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE0) + VendorStrLen + 1 + VerStrLen + 1 + DateStrLen … in MISC_SMBIOS_TABLE_FUNCTION() 150 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_BIOS_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 151 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE0); in MISC_SMBIOS_TABLE_FUNCTION() 155 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 159 SmbiosRecord->Vendor = 1; in MISC_SMBIOS_TABLE_FUNCTION() 163 SmbiosRecord->BiosVersion = 2; in MISC_SMBIOS_TABLE_FUNCTION() 164 SmbiosRecord->BiosSegment = (UINT16)ForType0InputData->BiosStartingAddress; in MISC_SMBIOS_TABLE_FUNCTION() 168 SmbiosRecord->BiosReleaseDate = 3; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscBaseBoardManufacturerFunction.c | 46 SMBIOS_TABLE_TYPE2 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 104 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + ProductStrLen + 1 + Ver… in MISC_SMBIOS_TABLE_FUNCTION() 105 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + ProductStrLen + 1 + VerStrLen… in MISC_SMBIOS_TABLE_FUNCTION() 107 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_BASEBOARD_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 108 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE2); in MISC_SMBIOS_TABLE_FUNCTION() 112 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 116 SmbiosRecord->Manufacturer = 1; in MISC_SMBIOS_TABLE_FUNCTION() 120 SmbiosRecord->ProductName = 2; in MISC_SMBIOS_TABLE_FUNCTION() 124 SmbiosRecord->Version = 3; in MISC_SMBIOS_TABLE_FUNCTION() 128 SmbiosRecord->SerialNumber = 4; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscSystemManufacturerFunction.c | 50 SMBIOS_TABLE_TYPE1 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 92 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE1) + ManuStrLen + 1 + PdNameStrLen + 1 + VerS… in MISC_SMBIOS_TABLE_FUNCTION() 93 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE1) + ManuStrLen + 1 + PdNameStrLen + 1 + VerStrLen … in MISC_SMBIOS_TABLE_FUNCTION() 95 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 96 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE1); in MISC_SMBIOS_TABLE_FUNCTION() 100 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 104 SmbiosRecord->Manufacturer = 1; in MISC_SMBIOS_TABLE_FUNCTION() 108 SmbiosRecord->ProductName = 2; in MISC_SMBIOS_TABLE_FUNCTION() 112 SmbiosRecord->Version = 3; in MISC_SMBIOS_TABLE_FUNCTION() 116 SmbiosRecord->SerialNumber = 4; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscBootInformationFunction.c | 35 SMBIOS_TABLE_TYPE32 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 50 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE32) + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 51 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE32) + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 53 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_BOOT_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 54 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE32); in MISC_SMBIOS_TABLE_FUNCTION() 58 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 59 SmbiosRecord->BootStatus = (UINT8)ForType32InputData->BootInformationStatus; in MISC_SMBIOS_TABLE_FUNCTION() 64 Status = AddSmbiosRecord (Smbios, &SmbiosHandle, (EFI_SMBIOS_TABLE_HEADER *) SmbiosRecord); in MISC_SMBIOS_TABLE_FUNCTION() 66 FreePool(SmbiosRecord); in MISC_SMBIOS_TABLE_FUNCTION()
|
/device/linaro/bootloader/edk2/Nt32Pkg/MiscSubClassPlatformDxe/ |
D | MiscSystemSlotDesignationFunction.c | 35 SMBIOS_TABLE_TYPE9 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 66 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE9) + SlotDesignationStrLen + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 67 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE9) +SlotDesignationStrLen + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 69 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_SLOTS; in MISC_SMBIOS_TABLE_FUNCTION() 70 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE9); in MISC_SMBIOS_TABLE_FUNCTION() 71 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 72 SmbiosRecord->SlotDesignation = 1; in MISC_SMBIOS_TABLE_FUNCTION() 73 SmbiosRecord->SlotType = (UINT8)ForType9InputData->SlotType; in MISC_SMBIOS_TABLE_FUNCTION() 74 SmbiosRecord->SlotDataBusWidth = (UINT8)ForType9InputData->SlotDataBusWidth; in MISC_SMBIOS_TABLE_FUNCTION() 75 SmbiosRecord->CurrentUsage = (UINT8)ForType9InputData->SlotUsage; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscResetCapabilitiesFunction.c | 33 SMBIOS_TABLE_TYPE23 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 49 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE23) + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 50 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE23) + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 52 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_RESET; in MISC_SMBIOS_TABLE_FUNCTION() 53 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE23); in MISC_SMBIOS_TABLE_FUNCTION() 57 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 58 SmbiosRecord->Capabilities = *(UINT8*)&(ForType23InputData->ResetCapabilities); in MISC_SMBIOS_TABLE_FUNCTION() 59 SmbiosRecord->ResetCount = (UINT16)ForType23InputData->ResetCount; in MISC_SMBIOS_TABLE_FUNCTION() 60 SmbiosRecord->ResetLimit = (UINT16)ForType23InputData->ResetLimit; in MISC_SMBIOS_TABLE_FUNCTION() 61 SmbiosRecord->TimerInterval = (UINT16)ForType23InputData->ResetTimerInterval; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscChassisManufacturerFunction.c | 43 SMBIOS_TABLE_TYPE3 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 86 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + VerStrLen + 1 + Serial… in MISC_SMBIOS_TABLE_FUNCTION() 87 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + VerStrLen + 1 + SerialNumStr… in MISC_SMBIOS_TABLE_FUNCTION() 89 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_ENCLOSURE; in MISC_SMBIOS_TABLE_FUNCTION() 90 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE3); in MISC_SMBIOS_TABLE_FUNCTION() 94 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 98 SmbiosRecord->Manufacturer = 1; in MISC_SMBIOS_TABLE_FUNCTION() 99 SmbiosRecord->Type = (UINT8)ForType3InputData->ChassisType.ChassisType; in MISC_SMBIOS_TABLE_FUNCTION() 103 SmbiosRecord->Version = 2; in MISC_SMBIOS_TABLE_FUNCTION() 107 SmbiosRecord->SerialNumber = 3; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscSystemLanguageStringFunction.c | 30 SMBIOS_TABLE_TYPE13 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 54 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE13) + StrLeng + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 55 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE13) + StrLeng + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 57 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_BIOS_LANGUAGE_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 58 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE13); in MISC_SMBIOS_TABLE_FUNCTION() 62 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 63 SmbiosRecord->InstallableLanguages = 1; in MISC_SMBIOS_TABLE_FUNCTION() 64 SmbiosRecord->Flags = 1; in MISC_SMBIOS_TABLE_FUNCTION() 65 SmbiosRecord->CurrentLanguages = 1; in MISC_SMBIOS_TABLE_FUNCTION() 66 OptionalStrStart = (CHAR8 *)(SmbiosRecord + 1); in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscBiosVendorFunction.c | 98 SMBIOS_TABLE_TYPE0 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 147 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE0) + VendorStrLen + 1 + VerStrLen + 1 + DateS… in MISC_SMBIOS_TABLE_FUNCTION() 148 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE0) + VendorStrLen + 1 + VerStrLen + 1 + DateStrLen … in MISC_SMBIOS_TABLE_FUNCTION() 150 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_BIOS_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 151 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE0); in MISC_SMBIOS_TABLE_FUNCTION() 155 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 159 SmbiosRecord->Vendor = 1; in MISC_SMBIOS_TABLE_FUNCTION() 163 SmbiosRecord->BiosVersion = 2; in MISC_SMBIOS_TABLE_FUNCTION() 164 SmbiosRecord->BiosSegment = (UINT16)ForType0InputData->BiosStartingAddress; in MISC_SMBIOS_TABLE_FUNCTION() 168 SmbiosRecord->BiosReleaseDate = 3; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscBaseBoardManufacturerFunction.c | 46 SMBIOS_TABLE_TYPE2 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 104 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + ProductStrLen + 1 + Ver… in MISC_SMBIOS_TABLE_FUNCTION() 105 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + ProductStrLen + 1 + VerStrLen… in MISC_SMBIOS_TABLE_FUNCTION() 107 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_BASEBOARD_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 108 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE2); in MISC_SMBIOS_TABLE_FUNCTION() 112 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 116 SmbiosRecord->Manufacturer = 1; in MISC_SMBIOS_TABLE_FUNCTION() 120 SmbiosRecord->ProductName = 2; in MISC_SMBIOS_TABLE_FUNCTION() 124 SmbiosRecord->Version = 3; in MISC_SMBIOS_TABLE_FUNCTION() 128 SmbiosRecord->SerialNumber = 4; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscSystemManufacturerFunction.c | 50 SMBIOS_TABLE_TYPE1 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 92 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE1) + ManuStrLen + 1 + PdNameStrLen + 1 + VerS… in MISC_SMBIOS_TABLE_FUNCTION() 93 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE1) + ManuStrLen + 1 + PdNameStrLen + 1 + VerStrLen … in MISC_SMBIOS_TABLE_FUNCTION() 95 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 96 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE1); in MISC_SMBIOS_TABLE_FUNCTION() 100 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 104 SmbiosRecord->Manufacturer = 1; in MISC_SMBIOS_TABLE_FUNCTION() 108 SmbiosRecord->ProductName = 2; in MISC_SMBIOS_TABLE_FUNCTION() 112 SmbiosRecord->Version = 3; in MISC_SMBIOS_TABLE_FUNCTION() 116 SmbiosRecord->SerialNumber = 4; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscBootInformationFunction.c | 35 SMBIOS_TABLE_TYPE32 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 50 SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE32) + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 51 ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE32) + 1 + 1); in MISC_SMBIOS_TABLE_FUNCTION() 53 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_BOOT_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 54 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE32); in MISC_SMBIOS_TABLE_FUNCTION() 58 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 59 SmbiosRecord->BootStatus = (UINT8)ForType32InputData->BootInformationStatus; in MISC_SMBIOS_TABLE_FUNCTION() 64 Status = AddSmbiosRecord (Smbios, &SmbiosHandle, (EFI_SMBIOS_TABLE_HEADER *) SmbiosRecord); in MISC_SMBIOS_TABLE_FUNCTION() 66 FreePool(SmbiosRecord); in MISC_SMBIOS_TABLE_FUNCTION()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/SmbiosMiscDxe/ |
D | MiscChassisManufacturerFunction.c | 53 SMBIOS_TABLE_TYPE3 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 119 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + VerStrLen + 1 + Serial… in MISC_SMBIOS_TABLE_FUNCTION() 120 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE3) + ManuStrLen + 1 + VerStrLen + 1 + SerialNumStr… in MISC_SMBIOS_TABLE_FUNCTION() 122 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_SYSTEM_ENCLOSURE; in MISC_SMBIOS_TABLE_FUNCTION() 123 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE3); in MISC_SMBIOS_TABLE_FUNCTION() 127 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 131 SmbiosRecord->Manufacturer = 1; in MISC_SMBIOS_TABLE_FUNCTION() 132 SmbiosRecord->Type = PcdGet8 (PcdSMBIOSChassisType); in MISC_SMBIOS_TABLE_FUNCTION() 136 SmbiosRecord->Version = 2; in MISC_SMBIOS_TABLE_FUNCTION() 140 SmbiosRecord->SerialNumber = 3; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|
D | MiscBiosVendorFunction.c | 108 SMBIOS_TABLE_TYPE0 *SmbiosRecord; in MISC_SMBIOS_TABLE_FUNCTION() local 176 …SmbiosRecord = AllocatePool(sizeof (SMBIOS_TABLE_TYPE0) + VendorStrLen + 1 + VerStrLen + 1 + DateS… in MISC_SMBIOS_TABLE_FUNCTION() 177 …ZeroMem(SmbiosRecord, sizeof (SMBIOS_TABLE_TYPE0) + VendorStrLen + 1 + VerStrLen + 1 + DateStrLen … in MISC_SMBIOS_TABLE_FUNCTION() 179 SmbiosRecord->Hdr.Type = EFI_SMBIOS_TYPE_BIOS_INFORMATION; in MISC_SMBIOS_TABLE_FUNCTION() 180 SmbiosRecord->Hdr.Length = sizeof (SMBIOS_TABLE_TYPE0); in MISC_SMBIOS_TABLE_FUNCTION() 184 SmbiosRecord->Hdr.Handle = 0; in MISC_SMBIOS_TABLE_FUNCTION() 188 SmbiosRecord->Vendor = 1; in MISC_SMBIOS_TABLE_FUNCTION() 192 SmbiosRecord->BiosVersion = 2; in MISC_SMBIOS_TABLE_FUNCTION() 193 SmbiosRecord->BiosSegment = PcdGet16 (PcdSMBIOSBiosStartAddress); in MISC_SMBIOS_TABLE_FUNCTION() 197 SmbiosRecord->BiosReleaseDate = 3; in MISC_SMBIOS_TABLE_FUNCTION() [all …]
|