AMI-Aptio-BIOS-Reversed / PurleyRpPkg / Platform / Dxe / Setup / DxePlatform / Platform /
@Ajax Dong Ajax Dong authored on 6 Jun
..
AllocateCopyPool.c Restructure the repo 3 months ago
AllocatePool.c Restructure the repo 3 months ago
AllocateZeroPool.c Restructure the repo 3 months ago
AsciiStrLen.c Restructure the repo 3 months ago
Assert.c Restructure the repo 3 months ago
BoolToString.c Restructure the repo 3 months ago
CalculateCrc.c Restructure the repo 3 months ago
CheckActionFlag.c Restructure the repo 3 months ago
CompareMem.c Restructure the repo 3 months ago
ConstructConfigHdr.c Restructure the repo 3 months ago
CopyMem.c Restructure the repo 3 months ago
CreateDevicePath.c Restructure the repo 3 months ago
DebugPrint.c Restructure the repo 3 months ago
DevicePathAppend.c Restructure the repo 3 months ago
DevicePathIsEnd.c Restructure the repo 3 months ago
DevicePathIsEndInstance.c Restructure the repo 3 months ago
DevicePathIsMultiInstance.c Restructure the repo 3 months ago
DevicePathNextNode.c Restructure the repo 3 months ago
DevicePathNodeLength.c Restructure the repo 3 months ago
DevicePathNodeOps.c Restructure the repo 3 months ago
DevicePathSubType.c Restructure the repo 3 months ago
DevicePathType.c Restructure the repo 3 months ago
DevicePathUtilities.c Restructure the repo 3 months ago
DriverEntryMain.c Restructure the repo 3 months ago
DriverInit.c Restructure the repo 3 months ago
DxePlatformDriverEntry.c Restructure the repo 3 months ago
ExtractConfig.c Restructure the repo 3 months ago
ExtractMeSpsConfig.c Restructure the repo 3 months ago
GetAllHandlesByProtocol.c Restructure the repo 3 months ago
GetAndSetSocketIioConfig.c Restructure the repo 3 months ago
GetDxeServicesTable.c Restructure the repo 3 months ago
GetManufacturingMode.c Restructure the repo 3 months ago
GetSetupString.c Restructure the repo 3 months ago
GetSetupVarSize.c Restructure the repo 3 months ago
GetTimerValue.c Restructure the repo 3 months ago
GetUint16AtIndex.c Restructure the repo 3 months ago
GetUint32.c Restructure the repo 3 months ago
GetVariableSize.c Restructure the repo 3 months ago
HiiCallbackHelper.c Restructure the repo 3 months ago
HiiConfigRouting.c Restructure the repo 3 months ago
HiiExtractConfig.c Restructure the repo 3 months ago
HiiFormActions.c Restructure the repo 3 months ago
HiiRouteConfig.c Restructure the repo 3 months ago
HiiStringPacker.c Restructure the repo 3 months ago
HiiStringToToken.c Restructure the repo 3 months ago
HiiStringToToken2.c Restructure the repo 3 months ago
HiiSubCallback.c Restructure the repo 3 months ago
InstallSetupVariables.c Restructure the repo 3 months ago
IoRead16.c Restructure the repo 3 months ago
IoRead32.c Restructure the repo 3 months ago
IoRead8.c Restructure the repo 3 months ago
IoWrite16.c Restructure the repo 3 months ago
IoWrite32.c Restructure the repo 3 months ago
IoWrite8.c Restructure the repo 3 months ago
LocateHandleBuffer.c Restructure the repo 3 months ago
LocateHiiSetup.c Restructure the repo 3 months ago
LocateHiiSetupConfig.c Restructure the repo 3 months ago
LocateProtocol.c Restructure the repo 3 months ago
MeExtractSpsConfigOnSetupEnter.c Restructure the repo 3 months ago
MeFirmwareUpdateHandler.c Restructure the repo 3 months ago
MeInitSpsInfo.c Restructure the repo 3 months ago
MeSetupConfiguration.c Restructure the repo 3 months ago
MigrateOldSetupVar.c Restructure the repo 3 months ago
MmIoRead32.c Restructure the repo 3 months ago
Platform.c Restructure the repo 3 months ago
Platform.h Recovering names 3 months ago
Platform.md Restructure the repo 3 months ago
PlatformSetupPolicy.c Restructure the repo 3 months ago
PopulateDiskInfoRecords.c Restructure the repo 3 months ago
PrintLibInternalSPrint.c Restructure the repo 3 months ago
PrintLibUnicodeVSPrint.c Restructure the repo 3 months ago
ProcessSetupConfig.c Restructure the repo 3 months ago
PublishInterface.c Restructure the repo 3 months ago
README.md Restructure the repo 3 months ago
ReadCpRcCfg.c Restructure the repo 3 months ago
ReadCpRcCfg2.c Restructure the repo 3 months ago
ReadCpuPciCfg.c Restructure the repo 3 months ago
ReadPciCfg.c Restructure the repo 3 months ago
RegisterHiiPackage.c Restructure the repo 3 months ago
SetMemRange.c Restructure the repo 3 months ago
SetSetupVariable.c Restructure the repo 3 months ago
SetUint8.c Restructure the repo 3 months ago
SetupActionDispatcher.c Restructure the repo 3 months ago
SetupActionHandler.c Restructure the repo 3 months ago
SetupBootOptionMaint.c Restructure the repo 3 months ago
SetupBufferOps.c Restructure the repo 3 months ago
SetupCallbackFinal.c Restructure the repo 3 months ago
SetupConfigAccessExtract.c Restructure the repo 3 months ago
SetupConfigExtract.c Restructure the repo 3 months ago
SetupConfigRoute.c Restructure the repo 3 months ago
SetupConfigRouting.c Restructure the repo 3 months ago
SetupDataMigrate.c Restructure the repo 3 months ago
SetupDisplayStrings.c Restructure the repo 3 months ago
SetupFormCallback.c Restructure the repo 3 months ago
SetupIfrBuilder.c Restructure the repo 3 months ago
SetupIfrConfigAccess.c Restructure the repo 3 months ago
SetupIfrExtractor.c Restructure the repo 3 months ago
SetupIfrKeywordHandle.c Restructure the repo 3 months ago
SetupIfrNavigator.c Restructure the repo 3 months ago
SetupIfrOptionLookup.c Restructure the repo 3 months ago
SetupIfrOptionValue.c Restructure the repo 3 months ago
SetupIfrPackLoader.c Restructure the repo 3 months ago
SetupIfrStringLoader.c Restructure the repo 3 months ago
SetupIfrSupplement.c Restructure the repo 3 months ago
SetupInfoRecordsDisplay.c Restructure the repo 3 months ago
SetupInfoRecordsWriter.c Restructure the repo 3 months ago
SetupKeywordHandler.c Restructure the repo 3 months ago
SetupOptionProcessor.c Restructure the repo 3 months ago
SetupOptionQuery.c Restructure the repo 3 months ago
SetupPlatform.c Restructure the repo 3 months ago
SetupPlatform.h Restructure the repo 3 months ago
SetupPlatform.md Restructure the repo 3 months ago
SetupPolicyInit.c Restructure the repo 3 months ago
SetupRecordsGetSet.c Restructure the repo 3 months ago
SetupRecordsList.c Restructure the repo 3 months ago
SetupRecordsNavigate.c Restructure the repo 3 months ago
SetupRouteHandler.c Restructure the repo 3 months ago
SetupValueChangeHandler.c Restructure the repo 3 months ago
SetupValueCheck.c Restructure the repo 3 months ago
SetupValueFormatter.c Restructure the repo 3 months ago
SetupValueSetter.c Restructure the repo 3 months ago
SetupVarMigrate.c Restructure the repo 3 months ago
SetupVarSizeCheck.c Restructure the repo 3 months ago
SetupVariableGet.c Restructure the repo 3 months ago
SetupVariableReadback.c Restructure the repo 3 months ago
SetupVariableSet.c Restructure the repo 3 months ago
StrAppendInfo.c Restructure the repo 3 months ago
StrCatS.c Restructure the repo 3 months ago
StrCmpS.c Restructure the repo 3 months ago
StrLen.c Restructure the repo 3 months ago
Uint64ToStr.c Restructure the repo 3 months ago
UnicodeStrToUpper.c Restructure the repo 3 months ago
UnicodeToString.c Restructure the repo 3 months ago
VariableServicesInit.c Restructure the repo 3 months ago
WritePciCfg.c Restructure the repo 3 months ago
WriteProtocolVar.c Restructure the repo 3 months ago
WriteS3BootScript.c Restructure the repo 3 months ago
ZeroMem.c Restructure the repo 3 months ago
_ModuleEntryPoint.c Restructure the repo 3 months ago
README.md

Platform

Index: 0340 | Size: 263,584 bytes | Arch: x64 | Phase: DXE

Overview

Platform is the central platform initialization DXE driver for the HR650X server, implementing 50 functions that cover low-level CPU, chipset, and memory configuration. It manages cache control, MSR (Model-Specific Register) access, interrupt state, I/O port operations, and memory-copy/zero-fill utilities. The driver includes string manipulation, CPUID feature detection, and platform-specific bring-up sequences.

Key Functions

  • DriverInit / ModuleEntryPoint -- Platform driver entry and dispatch
  • CpuDeadLoop -- Infinite loop for fault/assert conditions
  • DisableInterrupts / EnableInterrupts -- Global interrupt flag management
  • DisableCache -- Cache control for sensitive chipset configuration
  • CpuIdFeatureCheck -- CPU feature detection via CPUID instruction
  • ReadMsr / WriteMsr -- MSR read/write wrappers
  • IoRead32Stall -- MMIO read with stall for PCIe configuration
  • InternalZeroMem / InternalCopyMem / SetMem -- Optimized memory manipulation
  • AsciiStrCpyS -- Safe ASCII string copy
  • GetAndSetSocketIioConfig -- Socket IIO (Integrated IO) module setup

Dependencies

  • UEFI Boot Services / Runtime Services Table Library
  • CPU architectural protocols (MSR, CPUID, cache control)
  • Platform chipset registers (IIO, PCIe root ports)
  • MTRR (Memory Type Range Register) programming

Platform

HR650X, x86-64, PE32+ image, 7 sections (.text, .rdata, .data, .rsrc 163KB), subsystem 0x0B (EFI_BOOT_SERVICE_DRIVER)