summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
diff options
context:
space:
mode:
authorjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-16 22:12:20 +0000
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>2011-05-16 22:12:20 +0000
commit82571fb5d1c9093fd2387fc4a35a9f6fe5d541f4 (patch)
tree7b327f325b33134d943ce2fa08795c365243032b /ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
parent4880c2c94d100238b310579fbd95313893a5353f (diff)
downloadedk2-82571fb5d1c9093fd2387fc4a35a9f6fe5d541f4.zip
edk2-82571fb5d1c9093fd2387fc4a35a9f6fe5d541f4.tar.gz
edk2-82571fb5d1c9093fd2387fc4a35a9f6fe5d541f4.tar.bz2
add support to easily remove profiles and shell levels. the libraries will not do anything (but no longer fail), if the PCDs are changed to remove their functionality.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11666 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c')
-rw-r--r--ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
index 66345b4..13c829a 100644
--- a/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
+++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
@@ -56,7 +56,7 @@ UefiShellDebug1CommandsLibConstructor (
// check our bit of the profiles mask
//
if ((PcdGet8(PcdShellProfileMask) & BIT1) == 0) {
- return (EFI_UNSUPPORTED);
+ return (EFI_SUCCESS);
}
//