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