]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h
Program SD Cards into 4-bit mode (support for this is required in the spec). This...
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Protocol / Ps2Policy.h
CommitLineData
8ca67c46 1/** @file\r
49fd8a35 2 PS/2 policy protocol abstracts the specific platform initialization and settings.\r
3\r
180a5a35 4Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
49fd8a35 5This program and the accompanying materials are licensed and made available under \r
6the terms and conditions of the BSD License that accompanies this distribution. \r
7The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php. \r
9 \r
3db51098 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