summaryrefslogtreecommitdiffstats
path: root/DuetPkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-20 03:23:21 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-20 03:23:21 +0000
commitba992f96faae5e304c484c70f028a6780c9a290a (patch)
tree03f81c3fefbdc75bc8544261892ea82ee7393a12 /DuetPkg
parent7fa5d6e14945d922313db899da45637c6aea17e7 (diff)
downloadedk2-ba992f96faae5e304c484c70f028a6780c9a290a.tar.gz
edk2-ba992f96faae5e304c484c70f028a6780c9a290a.tar.bz2
edk2-ba992f96faae5e304c484c70f028a6780c9a290a.zip
1, Add logo.bmp to fv file for showing it in graphic mode
2, Hard code timeout to 5 second. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7315 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg')
-rw-r--r--DuetPkg/DuetPkg.fdf6
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/DuetPkg/DuetPkg.fdf b/DuetPkg/DuetPkg.fdf
index 35d9a045f6..53771acc61 100644
--- a/DuetPkg/DuetPkg.fdf
+++ b/DuetPkg/DuetPkg.fdf
@@ -61,6 +61,7 @@ READ_STATUS = TRUE
READ_LOCK_CAP = TRUE
READ_LOCK_STATUS = TRUE
+INF IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
@@ -119,6 +120,11 @@ FILE DRIVER = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F {
SECTION PE32 = FatBinPkg/EnhancedFatDxe/Ia32/Fat.efi
}
+
+FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D {
+ SECTION RAW = MdeModulePkg/Logo/Logo.bmp
+ }
+
[Rule.Common.PEI_CORE]
FILE PEI_CORE = $(NAMED_GUID) {
PE32 PE32 |.efi
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
index f3fc396757..7a4f7e8af3 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
@@ -1209,6 +1209,8 @@ Returns:
// Give one chance to enter the setup if we
// have the time out
//
+ // BUGBUG: hard code timeout to 5 second to show logo in graphic mode.
+ Timeout = 5;
if (Timeout != 0) {
PlatformBdsEnterFrontPage (Timeout, FALSE);
}