Subject: Re: [edk2] Using a Ram Disk created during boot time when the OS has been loaded
From: Daniel Moral <email@example.com>
To: "firstname.lastname@example.org" <email@example.com>
Date: 2011-09-28 23:53:13
You can publish an entry in the Configuration Table (describing the ramdisk base address and size) and then write (or modify) an OS ramdisk driver to obtain this info from the Configuration Table. Look at the InstallConfigurationTable boot service description in the UEFI spec for more information.
From: Daniel Moral
Sent: Wednesday, September 28, 2011 6:56 AM
Subject: [edk2] Using a Ram Disk created during boot time when the OS has been loaded
I have a board which loads a Ram Disk and creates a FAT16 filesystem during boot time using a modified EFI toolkit ramdisk driver. I allocate the memory needed to run it using runtime memory:
Status = pBS->AllocatePages(AllocateAnyPages,EfiRuntimeServicesData,NumPages,&RamDiskDev->Start);
Then I boot a SUSE Enterprise Server Linux 184.108.40.206.
I would like to know how could I make this Ram Disk filesystem available for the OS as a FAT16 filesystem so I can store the changes I made while working on the pre-boot environment.
I would really appreciarte your help.