summaryrefslogtreecommitdiff
path: root/OvmfPkg/Library/PlatformBootManagerLib/PlatformData.c
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2016-04-20 17:36:14 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2016-05-04 08:47:39 +0800
commite9e9ad644fab65b8dd66772df1bb139e3a1d2854 (patch)
tree95d26d334393081e648e7ab4d1f332116e818b54 /OvmfPkg/Library/PlatformBootManagerLib/PlatformData.c
parent77f47588a76c4388dde1d5e3641d8c6eba794aff (diff)
downloadedk2-platforms-e9e9ad644fab65b8dd66772df1bb139e3a1d2854.tar.xz
OvmfPkg/PlatformBootManagerLib: Init console vars in *BeforeConsole()
The major difference between IntelFrameworkModulePkg/BDS and MdeModulePkg/BDS is the latter connects the consoles in core code while the former connects in platform code. The change initializes the console variables in PlatformBootManagerBeforeConsole() and removes the console connection code. It also removes unused functions: PlatformBdsNoConsoleAction() and LockKeyboards(). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'OvmfPkg/Library/PlatformBootManagerLib/PlatformData.c')
-rw-r--r--OvmfPkg/Library/PlatformBootManagerLib/PlatformData.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/Library/PlatformBootManagerLib/PlatformData.c b/OvmfPkg/Library/PlatformBootManagerLib/PlatformData.c
index f69c1a8714..4f8cdf7112 100644
--- a/OvmfPkg/Library/PlatformBootManagerLib/PlatformData.c
+++ b/OvmfPkg/Library/PlatformBootManagerLib/PlatformData.c
@@ -32,7 +32,7 @@ VENDOR_DEVICE_PATH gTerminalTypeDeviceNode = gPcAnsiTerminal;
//
// Predefined platform default console device path
//
-BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {
+PLATFORM_CONSOLE_CONNECT_ENTRY gPlatformConsole[] = {
{
NULL,
0