1 /** @file 2 PS/2 policy protocol abstracts the specific platform initialization and settings. 3 4 Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR> 5 This program and the accompanying materials are licensed and made available under 6 the terms and conditions of the BSD License that accompanies this distribution. 7 The full text of the license may be found at 8 http://opensource.org/licenses/bsd-license.php. 9 10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 13 **/ 14 15 16 #ifndef _PS2_POLICY_PROTOCOL_H_ 17 #define _PS2_POLICY_PROTOCOL_H_ 18 19 #define EFI_PS2_POLICY_PROTOCOL_GUID \ 20 { \ 21 0x4df19259, 0xdc71, 0x4d46, {0xbe, 0xf1, 0x35, 0x7b, 0xb5, 0x78, 0xc4, 0x18 } \ 22 } 23 24 #define EFI_KEYBOARD_CAPSLOCK 0x0004 25 #define EFI_KEYBOARD_NUMLOCK 0x0002 26 #define EFI_KEYBOARD_SCROLLLOCK 0x0001 27 28 typedef 29 EFI_STATUS 30 (EFIAPI *EFI_PS2_INIT_HARDWARE) ( 31 IN EFI_HANDLE Handle 32 ); 33 34 typedef struct { 35 UINT8 KeyboardLight; 36 EFI_PS2_INIT_HARDWARE Ps2InitHardware; 37 } EFI_PS2_POLICY_PROTOCOL; 38 39 extern EFI_GUID gEfiPs2PolicyProtocolGuid; 40 41 #endif 42