# SlotDataUpdateDxeLightningRidgeEXRP

| Attribute     | Value                                                             |
|---------------|-------------------------------------------------------------------|
| Index         | 0005                                                              |
| Module        | SlotDataUpdateDxeLightningRidgeEXRP                               |
| Size (EFI)    | 3,328 bytes (D00h)                                                |
| Phase         | DXE                                                               |
| Platform      | Lightning Ridge EXRP                                              |
| Framework     | UBA (Universal BIOS Architecture)                                 |
| Source Lines  | 1,191 (2 files)                                                   |

## Overview

SlotDataUpdateDxeLightningRidgeEXRP provides platform-specific PCIe slot configuration data for the Lightning Ridge EXRP variant through the UBA framework. It registers two PSLT (Platform Slot Table) entries containing slot count and slot data callbacks that the UBA protocol uses to enumerate and configure PCIe slot topology. The driver implements safe TPL-aware protocol access (skipping LocateProtocol when TPL is above TPL_NOTIFY).

## Key Functions

- `ModuleEntryPoint` -- Entry point; locates UBA protocol and registers PSLT entries (PSLT1 and PSLT2)
- `UbaGetProtocolInterface` -- TPL-safe LocateProtocol wrapper for UBA protocol
- `GetSlotCount` -- Returns the number of PCIe slots for this platform
- `GetSlotData` -- Returns PCIe slot configuration data
- `DebugPrint` -- Debug output via UBA protocol
- `DebugAssert` -- Assertion handler via UBA protocol
- `GetHobList` -- Locates HOB list from system configuration table
- `IsGuidEqual` -- Two-64-bit GUID comparison

## Dependencies

- UEFI Boot Services (gBS->LocateProtocol, gBS->RaiseTPL/gBS->RestoreTPL)
- UBA Protocol ({36232936-0E76-31C8-A13A-3AF2FC1C3932})
- UBA Slot Data PSLT1 GUID ({B93613E1-48F0-4B32-B3A8-4FEDFC7C1365})
- UBA Slot Data PSLT2 GUID ({226763AE-972C-4E3C-80D1-73B25E8CBBA3})
- DXE Services Table GUID

## Platform

- Architecture: x86-64 (PE32+)
- Machine: 0x8664
- Subsystem: EFI Boot Service Driver (0x000B)
- Toolchain: VS2015, X64 DEBUG
- Sections: 6 (.text, .rdata, .data, .idata, .reloc)
- Entry Point: 0x390