Newer
Older
AMI-Aptio-BIOS-Reversed / RuntimeDxe / README.md
@Ajax Dong Ajax Dong 2 days ago 1 KB Init

RuntimeDxe, 0105, 0x8000 (32768 bytes), Phase 2

Core Runtime DXE driver from MdeModulePkg. Initializes the UEFI Runtime Services table, registers notification callbacks for ExitBootServices and SetVirtualAddressMap, and manages the runtime driver image list. Provides the runtime clock interface, CRC32 calculation, virtual address conversion (ConvertPointer), and SetVirtualAddressMap implementation. Handles the architectural transition from boot services to runtime services environment.

Key Functions

  • RuntimeDriverInitialize -- installs runtime protocols and registers events
  • RuntimeDriverSetVirtualAddressMap -- handles virtual address mapping for runtime
  • RuntimeDriverConvertPointer -- converts boot-time pointers to runtime virtual addresses
  • RuntimeDriverCalculateCrc32 -- CRC32 computation for runtime services
  • RuntimeDriverExitBootServicesNotify -- cleanup and state transition callback

Protocols/Dependencies

  • EFI_RUNTIME_ARCH_PROTOCOL, Status Code Protocol
  • EFI_EVENT_GROUP_EXIT_BOOT_SERVICES, EFI_EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE

Platform

x86-64, UEFI RUNTIME_DRIVER, VS2015 DEBUG, MdeModulePkg