summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-10 03:26:52 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-10 03:26:52 +0000
commit24cdd14e81bc867dfc0ed05fd6d22d4a49858adb (patch)
treed3b17713dcd0c924e2adab6986d0b0cb9f4e1569 /IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h
parent2e01113094b2817712e1e00a975e7837a2c2a341 (diff)
downloadedk2-platforms-24cdd14e81bc867dfc0ed05fd6d22d4a49858adb.tar.xz
Move LockKeyboards API from GenericBdsLib to PlatformBdsLib
And change PlatformBdsLockNonUpdatableFlash in PlatformBdsLib return type to VOID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8855 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h')
-rw-r--r--IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h b/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h
index 030449f110..dee88a222b 100644
--- a/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h
+++ b/IntelFrameworkModulePkg/Include/Library/PlatformBdsLib.h
@@ -85,11 +85,28 @@ PlatformBdsBootSuccess (
This function locks platform flash that is not allowed to be updated during normal boot path.
The flash layout is platform specific.
- @retval EFI_SUCCESS The non-updatable flash areas.
-**/
-EFI_STATUS
+ **/
+VOID
EFIAPI
PlatformBdsLockNonUpdatableFlash (
VOID
);
+
+/**
+ Lock the ConsoleIn device in system table. All key
+ presses will be ignored until the Password is typed in. The only way to
+ disable the password is to type it in to a ConIn device.
+
+ @param Password Password used to lock ConIn device.
+
+ @retval EFI_SUCCESS lock the Console In Spliter virtual handle successfully.
+ @retval EFI_UNSUPPORTED Password not found
+
+**/
+EFI_STATUS
+EFIAPI
+LockKeyboards (
+ IN CHAR16 *Password
+ );
+
#endif