smbios: support getting address from EFI

* prefer v3 over v2
* adding efi attributes in gBootVolume KMessage is a bit of a hack, but
shouldn't hurt older kernels.

Change-Id: If5ea19dafa5a845872eb8d577e77a6935539ce20
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9685
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Jérôme Duval
2025-10-15 06:52:57 +00:00
committed by Adrien Destugues
parent 4719b3c5c3
commit 6ce67a5336
4 changed files with 56 additions and 1 deletions
@@ -24,6 +24,10 @@
#define CURRENT_KERNEL_ARGS_VERSION 1
#define MAX_KERNEL_ARGS_RANGE 20
// names of efi boot_volume fields
#define BOOT_EFI_SMBIOS_V2_ROOT "_boot_efi smbiosv2root"
#define BOOT_EFI_SMBIOS_V3_ROOT "_boot_efi smbiosv3root"
// names of common boot_volume fields
#define BOOT_METHOD "boot method"
#define BOOT_VOLUME_USER_SELECTED "user selected"