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
This commit is contained in:
@ -255,11 +255,18 @@ BdsLibLoadDrivers (
|
||||
|
||||
|
||||
/**
|
||||
This function processes BootOrder or DriverOrder variables, by calling
|
||||
Process BootOrder, or DriverOrder variables, by calling
|
||||
BdsLibVariableToOption () for each UINT16 in the variables.
|
||||
|
||||
@param BdsCommonOptionList The header of the option list base on variable VariableName. @param VariableName EFI Variable name indicate the BootOrder or DriverOrder.
|
||||
@retval EFI_SUCCESS Successfully created the boot option or driver option list @retval EFI_OUT_OF_RESOURCES Failed to get the boot option or driver option list**/
|
||||
@param BdsCommonOptionList The header of the option list base on variable
|
||||
VariableName
|
||||
@param VariableName EFI Variable name indicate the BootOrder or
|
||||
DriverOrder
|
||||
|
||||
@retval EFI_SUCCESS Success create the boot option or driver option
|
||||
list
|
||||
@retval EFI_OUT_OF_RESOURCES Failed to get the boot option or driver option list
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
BdsLibBuildOptionFromVar (
|
||||
@ -1050,8 +1057,8 @@ CatPrint (
|
||||
);
|
||||
|
||||
/**
|
||||
Use Console Control to stop UGA-based Simple Text Out consoles from going
|
||||
to the UGA device. Put up LogoFile on every UGA device that is a console.
|
||||
Use SystemTable ConOut to stop video based Simple Text Out consoles from going
|
||||
to the video device. Put up LogoFile on every video device that is a console.
|
||||
|
||||
@param[in] LogoFile File name of logo to display on the center of the screen.
|
||||
|
||||
@ -1067,8 +1074,8 @@ EnableQuietBoot (
|
||||
|
||||
|
||||
/**
|
||||
Use Console Control to turn on UGA based Simple Text Out consoles. The UGA
|
||||
Simple Text Out screens will now be synced up with all non UGA output devices
|
||||
Use SystemTable ConOut to turn on video based Simple Text Out consoles. The
|
||||
Simple Text Out screens will now be synced up with all non video output devices
|
||||
|
||||
@retval EFI_SUCCESS UGA devices are back in text mode and synced up.
|
||||
|
||||
@ -1079,23 +1086,5 @@ DisableQuietBoot (
|
||||
VOID
|
||||
);
|
||||
|
||||
/**
|
||||
Use Console Control Protocol to lock the Console In Spliter virtual handle.
|
||||
This is the ConInHandle and ConIn handle in the EFI 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
|
||||
|
||||
|
Reference in New Issue
Block a user