Specifications
Code Definitions
43
EFI_LEGACY_BIOS_PROTOCOL.UpdateKeyboardLedStatus()
Summary
Updates the BDA to reflect status of the Scroll Lock, Num Lock, and Caps Lock keys and
LEDs.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_LEGACY_BIOS_UPDATE_KEYBOARD_LED_STATUS) (
IN EFI_LEGACY_BIOS_PROTOCOL *This,
IN UINT8 Leds
)
Parameters
This
Indicates the EFI_LEGACY_BIOS_PROTOCOL instance.
Leds
Current LED status, as follows:
Bit 0 – Scroll Lock 0 = Off
Bit 1 – Num Lock
Bit 2 – Caps Lock
Description
This function takes the Leds input parameter and sets/resets the BDA
accordingly.
Leds is also passed to Compatibility16 code, in case any special processing
is required. This function is normally called from EFI Setup drivers that handle user-
selectable keyboard options such as boot with NUM LOCK on/off. This function does not
touch the keyboard or keyboard LEDs but only the BDA.
Status Codes Returned
EFI_SUCCESS The BDA was updated successfully.










