Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
Matt Fleming b1362258ef OvmfPkg: EFI handover flags are in Bp->hdr.xloadflags
LoadLinux() is looking at the wrong field for the kernel's EFI handover
protocol flags. It's not currently possible for JumpToUefiKernel() to
ever be called (even accidentally) because BIT2 and BIT3 of
Bp->hdr.load_flags are never set in modern kernels, which means that
control is always transferred to the kernel via the legacy entry point.

Look at the correct field so that the EFI handover protocol is used
whenever it's available.

Contributed-under: TianoCore Contribution Agreement 1.0
Cc: David Woodhouse <David.Woodhouse@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14721 6f19259b-4bc3-4df7-8a09-765794883524
2013-09-24 18:33:56 +00:00
AppPkg - For writing sin_port, htons() must be used. 2013-02-08 21:34:26 +00:00
ArmPkg ArmPkg/ArmLib: Revert change 'Fixed field shifting in CLIDR_EL1 (AArch64)' 2013-09-23 09:42:05 +00:00
ArmPlatformPkg LcdGraphicsOutputDxe: Update FrameBufferSize as per UEFI spec section 11.9 2013-09-23 09:42:53 +00:00
BaseTools Sync BaseTool trunk (version r2601) into EDKII BaseTools. 2013-09-24 07:13:44 +00:00
BeagleBoardPkg ARM Package: Increase FV file size for some EDK2 firmware 2013-08-30 11:50:36 +00:00
Conf Adding top-level Conf directory for next generation of EDK II build infrastructure tools. 2007-06-20 19:33:23 +00:00
CryptoPkg Enhance error handling code after calling BIO_new in BaseCryptLib. 2013-08-07 08:11:14 +00:00
DuetPkg Fix DuetPkg build failure after adding the new reset type EfiResetPlatformSpecific. 2013-08-22 05:55:29 +00:00
EdkCompatibilityPkg EdkCompatibilityPkg: Fixed build for AArch64 2013-09-03 08:52:49 +00:00
EdkShellBinPkg EdkShellBinPkg: Added AArch64 EdkShellPkg binary and Updated Arm binary 2013-09-24 11:43:02 +00:00
EdkShellPkg EdkShellPkg: Add Aarch64 support 2013-09-23 09:20:03 +00:00
EmbeddedPkg MmcDxe Diagnostics: return EFI_UNSUPPORTED for Language other than english 2013-09-23 09:43:51 +00:00
EmulatorPkg EmulatorPkg: Use FaultTolerantWritePei driver. 2013-07-03 09:24:07 +00:00
FatBinPkg Add the AArch64 FAT binary to the EDK2 repository. 2013-08-15 01:18:05 +00:00
IntelFrameworkModulePkg Create PCDs in MdeModulePkg for ACPI table OEM_ID/OEM_TABLE_ID/OEM_REVISION/CREATOR_ID/CREATOR_REVISION customization. 2013-09-16 02:20:52 +00:00
IntelFrameworkPkg Fill the ImageHandle and DriverBindingHandle field of Driver Binding Protocol before installing the Driver Binding Protocol instance. 2013-07-10 02:06:49 +00:00
MdeModulePkg Fix deadloop issue in BrowserCallback function. 2013-09-24 10:08:04 +00:00
MdePkg Resolve GCC build error, where #pragma pack(push[, id], <n>) is not supported. 2013-09-22 01:56:37 +00:00
NetworkPkg Roll back the changes in revision 14294 since it will cause iSCSI security authentication issue. 2013-07-10 05:52:58 +00:00
Nt32Pkg resolve TpmMeasurementLib dependency introduced in r14687 2013-09-22 02:15:16 +00:00
Omap35xxPkg EmbeddedPkg: Introduced a separate SerialPortExtLib library 2013-03-12 00:40:11 +00:00
OptionRomPkg Fix OptionRomPkg build failure. 2013-08-21 08:57:13 +00:00
OvmfPkg OvmfPkg: EFI handover flags are in Bp->hdr.xloadflags 2013-09-24 18:33:56 +00:00
PcAtChipsetPkg Fix PciHostBridge driver to return success for EfiPciHostBridgeEndEnumeration to fix OVMF boot no display issue. 2013-07-22 07:35:51 +00:00
PerformancePkg Refine the select language logic. 2013-09-05 05:39:57 +00:00
SecurityPkg Add missing comments for function parameters. 2013-09-23 02:00:24 +00:00
ShellBinPkg ShellBinPkg: Update ARM and AArch64 Binaries with svn 14706 ShellPkg sources 2013-09-24 10:22:32 +00:00
ShellPkg ShellPkg: Handle pool allocation failure 2013-09-20 20:10:17 +00:00
SourceLevelDebugPkg Updated connecting HOST version information from 1.3 to 1.3.1. 2013-05-08 08:29:11 +00:00
StdLib StdLib: Fix pointer arithmetic issues in the strncasecmp function. 2013-09-13 00:46:19 +00:00
StdLibPrivateInternalFiles StdLib: Add internal use only header for interactive I/O. 2012-12-11 21:03:57 +00:00
UefiCpuPkg UefiCpuPkg/ResetVector/Vtf0: Move Page Table/CR3 setting to a new file 2013-09-24 18:23:09 +00:00
UnixPkg UnixPkg: Remove UnixPkg files (It is replaced by EmulatorPkg) 2013-07-29 21:09:55 +00:00
BuildNotes2.txt Update to new SVN URL in readme.txt 2013-06-08 05:26:39 +00:00
edksetup.bat Update edksetup.bat to check VS2012 2013-09-04 07:41:04 +00:00
edksetup.sh Correct copyright year 2011-02-16 12:21:31 +00:00