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