Update For Review
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Protocol / Ps2Policy.h
1 /** @file
2 Protocol used for PS/2 Policy definition.
3
4 Copyright (c) 2006 - 2007, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. 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