From e9e9ad644fab65b8dd66772df1bb139e3a1d2854 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Wed, 20 Apr 2016 17:36:14 +0800 Subject: 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 Reviewed-by: Laszlo Ersek --- OvmfPkg/Library/PlatformBootManagerLib/PlatformData.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OvmfPkg/Library/PlatformBootManagerLib/PlatformData.c') 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 -- cgit v1.2.3