summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-18 03:38:53 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-04-18 03:38:53 +0000
commitd55eb54dabc54d1ed390d8548f898bf929f34819 (patch)
treec3a8bc3e81e97a1b34ebea1313923e6fa7b17547
parent9071550e8697ed9df3d24b369bd30e3f0e190d1f (diff)
downloadedk2-platforms-d55eb54dabc54d1ed390d8548f898bf929f34819.tar.xz
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
-rw-r--r--DuetPkg/BootSector/BootSector.inf2
-rw-r--r--DuetPkg/DuetPkg.dsc4
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.c2
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);