]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h
Add comments for Include header files
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Protocol / Ps2Policy.h
CommitLineData
8ca67c46 1/** @file\r
f4671790 2 PS/2 policy protocol abstracts the specific platform initialization and setting.\r
a534fc0b 3\r
f4671790 4Copyright (c) 2006 - 2009, Intel Corporation \r
3db51098 5All rights reserved. This program and the accompanying materials \r
6are licensed and made available under the terms and conditions of the BSD License \r
7which accompanies this distribution. The full text of the license may be found at \r
8http://opensource.org/licenses/bsd-license.php \r
9 \r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
a534fc0b 12\r
3db51098 13**/\r
a534fc0b 14\r
a534fc0b 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
28typedef\r
29EFI_STATUS\r
30(EFIAPI *EFI_PS2_INIT_HARDWARE) (\r
31 IN EFI_HANDLE Handle\r
32 );\r
33\r
34typedef struct {\r
35 UINT8 KeyboardLight;\r
36 EFI_PS2_INIT_HARDWARE Ps2InitHardware;\r
37} EFI_PS2_POLICY_PROTOCOL;\r
38\r
39extern EFI_GUID gEfiPs2PolicyProtocolGuid;\r
40\r
41#endif\r