Changeset 98131 in vbox for trunk/src/VBox/Devices/EFI/Firmware
- Timestamp:
- Jan 19, 2023 9:20:54 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155301
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
r89983 r98131 13 13 #include <Library/Tcg2PhysicalPresenceLib.h> 14 14 #include <Library/XenPlatformLib.h> 15 #ifdef VBOX 16 # include <Library/IoLib.h> 17 # include "../../../../DevEFI.h" 18 #endif 15 19 16 20 … … 1541 1545 // Register UEFI Shell 1542 1546 // 1547 #ifndef VBOX 1543 1548 PlatformRegisterFvBootOption ( 1544 1549 &gUefiShellFileGuid, L"EFI Internal Shell", LOAD_OPTION_ACTIVE 1545 1550 ); 1551 #else 1552 /* 1553 * Don't start the shell automatically (can still be selected from the boot manager) 1554 * so we get into the error path when none of the boot options worked. 1555 */ 1556 PlatformRegisterFvBootOption ( 1557 &gUefiShellFileGuid, L"EFI Internal Shell", 0 1558 ); 1559 #endif 1546 1560 1547 1561 RemoveStaleFvFileOptions (); … … 1710 1724 UINTN Index; 1711 1725 1726 #ifdef VBOX 1727 IoWrite16(EFI_PORT_EVENT, EFI_EVENT_TYPE_BOOT_FAILED); 1728 #endif 1729 1712 1730 // 1713 1731 // BootManagerMenu doesn't contain the correct information when return status
Note:
See TracChangeset
for help on using the changeset viewer.