diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-10 08:06:56 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-10 08:06:56 +0000 |
commit | 63b67687ef4e73223faa980a84bdd4322963f501 (patch) | |
tree | 7cd9dd081b0c3c193eac2870d357d1e84d6a9392 | |
parent | c031fd2369b3fcb57aa73584f9e876666d26197d (diff) | |
download | edk2-platforms-63b67687ef4e73223faa980a84bdd4322963f501.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@8866 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c b/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c index 855faf6ee0..3571f4c58b 100644 --- a/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c +++ b/IntelFrameworkModulePkg/Library/PlatformBdsLibNull/BdsPlatform.c @@ -164,14 +164,33 @@ PlatformBdsNoConsoleAction ( /**
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
)
{
- return EFI_SUCCESS;
+ return ;
+}
+
+
+/**
+ 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
+ )
+{
+ return EFI_UNSUPPORTED;
}
|