UsbRtSmm
- Index: 0202
- Size: 147,812 bytes (144.3 KB)
- Phase: SMM (System Management Mode)
- PE Format: PE32+ x86-64, 6 sections (.text, .rdata, .data, section_3, .xdata, .reloc)
Overview
USB runtime SMM driver -- the largest PE in this batch at 144 KB. This driver provides USB host controller and device management from SMM context, enabling USB keyboard and mass storage access during SMM runtime. It includes a significant USB stack (117 KB .text section) with EHCI/XHCI controller drivers, USB hub management, and HID (Human Interface Device) protocol support. This allows USB keyboard input and USB boot redirection features to operate during S3 resume and SMM periods.
Key Functions
- ModuleEntryPoint -- Standard SMM entry; library init and USB SMM runtime setup
- sub_55C -- Early initialization
- sub_928 -- Core USB SMM runtime initialization (controller detection, driver binding)
- sub_1B81C -- Error handler / cleanup for USB initialization failures
Protocols
- SmmBase2 Protocol -- SMM entry point
- SmmUsbProtocol -- USB operations from SMM context
- Ehci/Xhci SMM Protocols -- Host controller SMM drivers
- SmmIo Protocol -- I/O access for USB controller registers
- SmmPciRbIo Protocol -- PCI configuration for USB controller discovery
- Build: HR6N0XMLK DEBUG_VS2015 X64
- Source: AmiModulePkg/UsbRtSmm
- Part of: HR650X BIOS SMM infrastructure (indices 0195-0199, 0201-0203)