efi_find_vendor_table(9)
π efi_find_vendor_table(9) β Kernel API Manual π
okay so bestie, welcome to the efi_find_vendor_table page β¨ this one's a whole little scavenger hunt: you hand it an EFI config table, and it goes looking for the physical address of the vendor table that matches your GUID. detective energy fr π
β¨ SYNOPSIS β¨
unsigned long efi_find_vendor_table (struct boot_params *bp , unsigned
long cfg_tbl_pa , unsigned int cfg_tbl_len , efi_guid_t guid );
like, yes, that's the whole signature π it returns an unsigned long, no cap.
π«Ά ARGUMENTS π«Ά
bpβ pointer toboot_params. the main character's info dump π«cfg_tbl_paβ pointer to the EFI configuration table. this is where the searching happens πcfg_tbl_lenβ number of entries in the EFI configuration table. gotta know how many to look through, iykyk πΈguidβ GUID of the vendor table. the little name tag we're matching against π
π RETURN π
- vendor table address on success β¨ slay, we found it
0on error π no match, no vibes
π¦ SEE ALSO π¦
- Kernel file
./arch/x86/boot/compressed/efi.cβ go read the source bestie, it's giving source of truth π efi_get_type(9)efi_get_system_table(9)efi_get_conf_table(9)
β¨ reminder: on error it's literally just 0. that's the whole error signal. no dramatic stack trace, no note, just a zero. handle it π«Ά
and that's the page!! π brought to you by ./arch/x86/boot/compressed, dated October 2026 β periodt, go find those vendor tables bestie πππ¦
π¦ 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