Newer
Older
AMI-Aptio-BIOS-Reversed / PurleySktPkg / Dxe / CpuCsrAccess / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Full restructure

CpuCsrAccess

Index Module Size Phase
107 CpuCsrAccess 20 KB DXE / Runtime

Overview

CpuCsrAccess is a UEFI driver providing CPU Control and Status Register (CSR) access primitives for the HR650X platform. It implements read/write dispatch routines for CPU configuration space access, MSR manipulation, PCI Express configuration, and platform configuration parsing. The driver supports runtime virtual address change notifications and includes utilities for CPUID, TSC read, and microsecond delays.

Key Functions

  • CpuCsrReadWriteDispatch — dispatch CSR read/write operations
  • CpuCsrPacketRead / CpuCsrPacketWrite — packet-based CSR access
  • CpuCsrPciExpressEnable / CpuCsrPciExpressTranslateAddr — PCIe configuration space access
  • CpuCsrParsePlatformConfig — parse platform configuration data
  • CpuCsrRuntimeVirtualAddrCallback — handle virtual address transitions
  • CpuCsrDriverEntry / ModuleEntryPoint — driver initialization

Dependencies

  • UEFI Boot Services, Runtime Services
  • PCD Protocol
  • Debug Protocol (DebugPrint, DebugAssert)

Platform

Lenovo HR650X (Intel Purley), X64, UEFI DXE/Runtime driver