diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-28 06:02:52 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-02-28 06:02:52 +0000 |
commit | 0fc824969add428b8114d3bfe596afb778d41134 (patch) | |
tree | 5387c25ad1feada12c1c70d7c030092c08379962 /MdeModulePkg/Universal/BdsDxe/FrontPage.c | |
parent | c47698067ec48413570df5d7c7ed83785ace6dbf (diff) | |
download | edk2-0fc824969add428b8114d3bfe596afb778d41134.zip edk2-0fc824969add428b8114d3bfe596afb778d41134.tar.gz edk2-0fc824969add428b8114d3bfe596afb778d41134.tar.bz2 |
Add debug prompt for showing progress bar.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4765 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/BdsDxe/FrontPage.c')
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/FrontPage.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/FrontPage.c b/MdeModulePkg/Universal/BdsDxe/FrontPage.c index c58ed64..2a0a81d 100644 --- a/MdeModulePkg/Universal/BdsDxe/FrontPage.c +++ b/MdeModulePkg/Universal/BdsDxe/FrontPage.c @@ -832,6 +832,8 @@ Returns: return EFI_TIMEOUT;
}
+ DEBUG ((EFI_D_INFO, "\n\nStart showing progress bar... Press any key to stop it! ...Zzz....\n"));
+
SetMem (&Foreground, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0xff);
SetMem (&Background, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0x0);
SetMem (&Color, sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL), 0xff);
@@ -846,6 +848,8 @@ Returns: TimeoutRemain = TimeoutDefault;
while (TimeoutRemain != 0) {
+ DEBUG ((EFI_D_INFO, "Showing progress bar...Remaining %d second!\n", TimeoutRemain));
+
Status = WaitForSingleEvent (gST->ConIn->WaitForKey, ONE_SECOND);
if (Status != EFI_TIMEOUT) {
break;
|