Newer
Older
AMI-Aptio-BIOS-Reversed / CpRcPkg / Universal / RegAccess / Dxe / RegAccessDxe / README.md
@Ajax Dong Ajax Dong 2 days ago 918 bytes Full restructure

RegAccessDxe, 0095, 0x5800 (22528 bytes), Phase 2

Register Access DXE driver providing PCIe/IIO register address translation for Intel Xeon Scalable platforms. Supports MMIO-based register read/write/modify, S3 boot script recording via LockBox save/restore, and runtime PCIe config space access with virtual address mapping. Initializes by querying IIO topology protocol per socket and enabling MCH register access via PCD.

Key Functions

  • RegAccessInstallProtocol -- installs the RegAccess protocol with IIO config and PCIe MMIO allocation
  • RegAccessUnload -- cleanup on initialization failure
  • sub_1D78 / sub_1D9C -- SetVirtualAddressChange / PCIe VirtualAddressChange notification callbacks
  • sub_265C -- S3 boot script save context initialization

Protocols/Dependencies

  • RegAccess Protocol, PCD Protocol, IIO Topology Protocol, SMM LockBox

Platform

x86-64, UEFI DXE_DRIVER, VS2015 DEBUG, CpRcPkg