[efi] Define an attachment priority order for EFI drivers

Define an ordering for internal EFI drivers on the basis of how close
the driver is to the hardware, and attempt to start drivers in this
order.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-03-29 15:28:19 +00:00
parent be33224754
commit 7737fec5c6
6 changed files with 12 additions and 10 deletions

View File

@@ -48,7 +48,7 @@ static int mnp_supported ( EFI_HANDLE device ) {
}
/** EFI MNP driver */
struct efi_driver mnp_driver __efi_driver ( EFI_DRIVER_NORMAL ) = {
struct efi_driver mnp_driver __efi_driver ( EFI_DRIVER_MNP ) = {
.name = "MNP",
.supported = mnp_supported,
.start = mnpnet_start,