LegacySredir
| Field |
Value |
| Index |
292 |
| Module |
LegacySredir |
| Size |
9824 bytes (0x2660) |
| Phase |
DXE |
Legacy Serial Redirection DXE driver for the Lenovo HR650X BIOS. This driver enables legacy serial redirection for text console I/O by configuring the Super I/O (SIO) UART hardware via PCI configuration space. It registers SMM callbacks for runtime notification and publishes the Legacy Serial Redirection protocol to allow BIOS setup and OS runtime serial console access through legacy COM port emulation.
Key Functions
- ModuleEntryPoint -- Standard UEFI entry point; saves system table pointers and initializes SIO and SMM protocols
- SioProtocolOpen -- Opens the SIO protocol for Super I/O register access
- SmmSwDispatchRegister -- Registers SMM software dispatch callback for runtime notification
- SmmReadyToBootRegister -- Registers ready-to-boot notification for final serial setup
- LegacySerialRedirectionInstall -- Publishes the Legacy Serial Redirection protocol
Dependencies
- UefiBootServicesTableLib, UefiRuntimeServicesTableLib
- DebugLib, BaseLib, HobLib
- SIO Protocol, SMM SW Dispatch2 Protocol, SMM ReadyToBoot Protocol
- DebugMask Protocol
x86-64 PE32+ (UEFI DXE driver), Lenovo HR650X (Purley/Intel grantley-EP), AMI ModulePkg