Module r_efi::efi

source ·
Expand description

Flat EFI Namespace

The EFI namespace re-exports all symbols in a single, flat namespace. This allows mirroring the entire EFI namespace as given in the specification and makes it easier to refer to them with the same names as the reference C implementation.

Note that the individual protocols are put into submodules. The specification does this in most parts as well (by prefixing all symbols). This is not true in all cases, as the specification suffers from lack of namespaces in the reference C language. However, we decided to namespace the remaining bits as well, for better consistency throughout the API. This should be self-explanatory in nearly all cases.

Re-exports§