Thursday, October 19, 2006

Variable functionality

Most of the variable functionality in the runtime services are now in place. Implemented as a runtime module they utilize the variable store protocol for backing storage. Currently only a memory store is implemented that can keep variables for duration of boot- and runtime services. The next step is to implement a non-volatile store that keeps the variables in a special file on the system partition.

An open question is how to detect which partition is the system partition. If the disk uses the GPT scheme the partition can be detected using the partition GUID. But what about disks with MBR partitions? Should the partition that contains a \efi directory be picked? Should some other algorithm be used? Suggestions are welcome.


Blogger Keshav said...

EFI System Partitions are marked as "0xef" in MBR disks.

Also check out the DUET (Developer UEFI Emulation) package in . I currently use it to boot Windows Vista x64, Windows 7 x64 and Fedora 11 x64 using UEFI in a GPT disk. My DUET (UEFI 2.0 x64) firmware runs from a 1 GB USB pendrive.

For Fedora I use both GRUB 0.97 efi binary provided by it as well as GRUB2 SVN compiled efi binary (compiled by myself) to boot it.

8:48 AM


Post a Comment

<< Home