Module uefi::helpers

source ·
Expand description

This module provides miscellaneous opinionated but optional helpers to better integrate your application with the Rust runtime and the Rust ecosystem.

For now, this includes:

  • using uefi::allocator::Allocator as global allocator (feature global_allocator)
  • an implementation of log::Log (feature logger) which logs to the stdout text protocol of UEFI (as long as boot services were not excited) and to the debugcon device (only on x86) (feature log-debugcon).
  • print! and println! macros defaulting to the uefi boot service stdout stream
  • default panic handler (feature panic_handler)

PLEASE NOTE that these helpers are meant for the pre exit boot service epoch.

Functions§

  • Initialize all helpers defined in uefi::helpers whose Cargo features are activated.
  • system_tableDeprecated
    Obtains a pointer to the system table.