Newer
Older
AMI-Aptio-BIOS-Reversed / UefiCpuPkg / CpuIo2Smm / README.md
@Ajax Dong Ajax Dong 2 days ago 818 bytes Full restructure

CpuIo2Smm, 0169, 6 KB, SMM

SMM driver implementing the EFI_SMM_CPU_IO2_PROTOCOL for MMIO and port I/O access from SMM context. Provides read/write operations for byte, word, dword, and qword widths on both memory-mapped and I/O port address spaces with parameter validation.

Key Functions: CpuIo2SmmMemRead/CpuIo2SmmMemWrite (MMIO via direct pointer dereference), CpuIo2SmmIoRead/CpuIo2SmmIoWrite (port I/O via in/out instructions), CpuIo2SmmCheckParameter (width, alignment, and address range validation), CpuIo2SmmInstallProtocol (protocol registration via SmmInstallProtocolInterface).

Protocols/Dependencies: EFI_SMM_CPU_IO2_PROTOCOL (produces), EFI_SMM_BASE2_PROTOCOL (consumes), SMM CPU I/O abstraction via Smst+SmmIoMemAbstraction.

Platform: Intel Purley (Skylake-SP) / HR650X server, UefiCpuPkg/CpuIo2Smm