AMI-Aptio-BIOS-Reversed / AmiCompatibilityPkg / Smbios / SmbiosBoard / SmbiosBoard /
@Ajax Dong Ajax Dong authored 7 days ago
..
README.md Restructure the repo 7 days ago
SmbiosBoard.c Recovering names 7 days ago
SmbiosBoard.h Restructure the repo 7 days ago
SmbiosBoard.md Restructure the repo 7 days ago
README.md

SmbiosBoard

Index: 0066 | Size: 6432 bytes | Arch: x64 | Phase: DXE

Overview

Board-specific SMBIOS data provider DXE driver. Installs the SmbiosBoard protocol containing board identification bytes (type/revision sequence), a function dispatch table, and PCIe configuration space accessors. Determines board type from CMOS/RTC registers and chipset straps, and reads PCIe segment/bus configuration from PCD tokens.

Key Functions

  • GetBoardType -- Reads board identification from CMOS register 0x4B; falls back to chipset straps at 0xFDAF0490
  • WriteBoardConfig -- Programs board configuration flag to PCI config space
  • GetPciExpressBaseAddress -- Retrieves PCIe base address from PCD protocol
  • SmbiosBoardEntryPoint -- Initializes UEFI table pointers, locates protocols, installs SmbiosBoard protocol

Protocols / Dependencies

  • SmbiosBoard Protocol (board data + callbacks)
  • MM PCI Base Protocol (PciUsra)
  • PCD Protocol for PCIe base address and segment/bus table
  • CMOS/RTC I/O ports (0x70/0x71)

Platform

HR650X, board data table (24 bytes), 8 null-callback slots, PCIe config via PCD tokens 5 and 7