Revision: 16878
http://sourceforge.net/p/edk2/code/16878
Author: jljusten
Date: 2015-02-17 00:05:36 +0000 (Tue, 17 Feb 2015)
Log Message:
-----------
OvmfPkg/PlatformBdsLib: Signal ReadyToBoot before booting QEMU kernel
Before we launch the QEMU kernel, we should signal the ReadyToBoot
event.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Modified Paths:
--------------
trunk/edk2/OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
trunk/edk2/OvmfPkg/Library/PlatformBdsLib/QemuKernel.c
Modified: trunk/edk2/OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
===================================================================
--- trunk/edk2/OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
2015-02-17 00:05:31 UTC (rev 16877)
+++ trunk/edk2/OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf
2015-02-17 00:05:36 UTC (rev 16878)
@@ -1,7 +1,7 @@
## @file
# Platform BDS customizations library.
#
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD
License
# which accompanies this distribution. The full text of the license may be
found at
@@ -51,6 +51,7 @@
QemuFwCfgLib
LoadLinuxLib
QemuBootOrderLib
+ UefiLib
[Pcd]
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile
Modified: trunk/edk2/OvmfPkg/Library/PlatformBdsLib/QemuKernel.c
===================================================================
--- trunk/edk2/OvmfPkg/Library/PlatformBdsLib/QemuKernel.c 2015-02-17
00:05:31 UTC (rev 16877)
+++ trunk/edk2/OvmfPkg/Library/PlatformBdsLib/QemuKernel.c 2015-02-17
00:05:36 UTC (rev 16878)
@@ -1,6 +1,6 @@
/** @file
- Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD
License
which accompanies this distribution. The full text of the license may be
found at
@@ -19,6 +19,7 @@
#include <Library/MemoryAllocationLib.h>
#include <Library/QemuFwCfgLib.h>
#include <Library/UefiBootServicesTableLib.h>
+#include <Library/UefiLib.h>
EFI_STATUS
@@ -143,6 +144,11 @@
goto FreeAndReturn;
}
+ //
+ // Signal the EVT_SIGNAL_READY_TO_BOOT event
+ //
+ EfiSignalEventReadyToBoot();
+
Status = LoadLinux (KernelBuf, SetupBuf);
FreeAndReturn:
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits