efi_get_type(9)
okay so bestie, this is efi_get_type, brought to you by the Kernel API Manual β¨ itβs giving βtiny EFI detectiveβ energy and honestly? iconic π
β¨ NAME β¨
efi_get_type β give it a pointer to boot_params, and it figures out the type of EFI environment youβre in π«Ά no cap, thatβs the whole mission.
π SYNOPSIS π
enum efi_type efi_get_type (struct boot_params *bp );
π ARGUMENTS π
bpβ pointer toboot_params. thatβs the one and only argument, bestie πΈ
π RETURN π
you get EFI_TYPE_{32,64} for valid EFI environments, and EFI_TYPE_NONE otherwise. periodt π
π¦ SEE ALSO π¦
- Kernel file:
./arch/x86/boot/compressed/efi.c efi_get_system_table(9)efi_get_conf_table(9)efi_find_vendor_table(9)
mwah π source/version vibes: ./arch/x86/boot/compressed; date: October 2026; and the page is efi_get_type(9) β slay πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms