bootloader icon indicating copy to clipboard operation
bootloader copied to clipboard

Add support for the UEFI runtime table address

Open kennystrawnmusic opened this issue 2 years ago • 0 comments

Although not always needed, UEFI runtime services are still important for some use cases, most notable knowing what time it is — something that needs to be constantly queried, so hardcoding the time into BootInfo won't help much. Thankfully, the UEFI crate has a method on SystemTable<Runtime> for retrieving the memory address of the runtime services table, which a kernel can then access via a raw pointer. As such, I've chosen to contribute this as an option for ensuring that kernels can do exactly that.

kennystrawnmusic avatar Oct 02 '23 00:10 kennystrawnmusic