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