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

RamDiskDxe, 0097, 0xa540 (42240 bytes), Phase 2

UEFI RAM Disk Driver from EDK2 MdeModulePkg. Provides Block I/O and Block I/O 2 protocol interfaces backed by system memory, enabling OS and boot applications to treat RAM regions as disk devices. Manages NFIT ACPI table entries for NVDIMM region mapping, supports dynamic register/unregister of RAM disks, and populates HII configuration forms for user interaction. Also handles driver binding start/stop for SNP-based controllers.

Key Functions

  • RamDiskRegister / RamDiskUnregister -- register/unregister a RAM disk with BlockIo
  • RamDiskPublishNfit / RamDiskDepublishNfit -- manage NFIT ACPI table entries
  • RamDiskBlockIoReadBlocks / WriteBlocks -- read/write via EFI_BLOCK_IO protocol
  • RamDiskCreateFromFile -- create a RAM disk from firmware file content

Protocols/Dependencies

  • EFI_BLOCK_IO_PROTOCOL, EFI_BLOCK_IO2_PROTOCOL, EFI_ACPI_TABLE_PROTOCOL
  • EFI_HII_DATABASE_PROTOCOL, EFI_HII_CONFIG_ACCESS_PROTOCOL

Platform

x86-64, UEFI DXE_DRIVER, VS2015 DEBUG, MdeModulePkg