From d55eb54dabc54d1ed390d8548f898bf929f34819 Mon Sep 17 00:00:00 2001 From: klu2 Date: Fri, 18 Apr 2008 03:38:53 +0000 Subject: [PATCH] User customize build method for BootSector module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5089 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/BootSector/BootSector.inf | 2 +- DuetPkg/DuetPkg.dsc | 4 ++-- DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DuetPkg/BootSector/BootSector.inf b/DuetPkg/BootSector/BootSector.inf index 149d4e49f6..df6106e30f 100644 --- a/DuetPkg/BootSector/BootSector.inf +++ b/DuetPkg/BootSector/BootSector.inf @@ -6,7 +6,7 @@ VERSION_STRING = 1.0 EDK_RELEASE_VERSION = 0x00020000 EFI_SPECIFICATION_VERSION = 0x00020000 - + CUSTOM_MAKEFILE = Makefile [Packages] MdePkg/MdePkg.dec DuetPkg/DuetPkg.dec diff --git a/DuetPkg/DuetPkg.dsc b/DuetPkg/DuetPkg.dsc index d47bad9382..924ea09cdc 100644 --- a/DuetPkg/DuetPkg.dsc +++ b/DuetPkg/DuetPkg.dsc @@ -9,7 +9,7 @@ SUPPORTED_ARCHITECTURES = IA32|X64 BUILD_TARGETS = DEBUG SKUID_IDENTIFIER = DEFAULT - FLASH_DEFINITION = DuetPkg/DuetPkg.fdf + #FLASH_DEFINITION = DuetPkg/DuetPkg.fdf [LibraryClasses.common] BaseLib|MdePkg/Library/BaseLib/BaseLib.inf @@ -70,7 +70,7 @@ ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf SerialPortLib|MdePkg/Library/SerialPortLibNull/SerialPortLibNull.inf IoLib|IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf - TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf + TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf [LibraryClasses.common.UEFI_DRIVER] MemoryAllocationLib|MdePkg/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c index e8404e5524..b7b58ac0d0 100644 --- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c +++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c @@ -1246,7 +1246,7 @@ Returns: // // Check whether the user input after the duration time has expired // - OldTpl = BdsLibGetCurrentTpl(); + OldTpl = EfiGetCurrentTpl(); gBS->RestoreTPL (TPL_APPLICATION); gBS->WaitForEvent (1, &UserInputDurationTime, &Index); gBS->CloseEvent (UserInputDurationTime); -- 2.39.2