From b672348fea0c19c227d802d4d42699ea90ab7c28 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Fri, 8 May 2009 07:51:03 +0000 Subject: [PATCH] 1. Assign BDS timeout PCD value. 2. Sync SetupVariableInit in Unix Platform. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8265 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/Library/UnixBdsLib/BdsPlatform.c | 3 ++- UnixPkg/UnixPkg.dsc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c index 84a56faf76..7b11dd0f7d 100644 --- a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c +++ b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c @@ -1,6 +1,6 @@ /*++ -Copyright (c) 2006 - 2007, Intel Corporation +Copyright (c) 2006 - 2009, Intel Corporation All rights reserved. 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 @@ -102,6 +102,7 @@ Returns: // gBS->CalculateCrc32 ((VOID *) gST, sizeof (EFI_SYSTEM_TABLE), &gST->Hdr.CRC32); + SetupVariableInit (); } EFI_STATUS diff --git a/UnixPkg/UnixPkg.dsc b/UnixPkg/UnixPkg.dsc index df8cfce874..050db8b79a 100644 --- a/UnixPkg/UnixPkg.dsc +++ b/UnixPkg/UnixPkg.dsc @@ -4,7 +4,7 @@ # # The Emulation Platform can be used to debug individual modules, prior to creating # a real platform. This also provides an example for how an DSC is created. -# Copyright (c) 2006 - 2008, Intel Corporation +# Copyright (c) 2006 - 2009, Intel Corporation # # All rights reserved. This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -369,6 +369,7 @@ [PcdsDynamicHii.common.DEFAULT] gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|L"Setup"|gEfiUnixSystemConfigGuid|0x0|80 gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|L"Setup"|gEfiUnixSystemConfigGuid|0x4|25 + gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVariableGuid|0x0|10 ################################################################################################### # -- 2.39.2