]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h
Add in Ps2keyboard.inf and Ps2Mouse.inf to IntelFrameworkModuelPkg
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Protocol / Ps2Policy.h
1 /*++
2
3 Copyright (c) 2006, Intel Corporation. All rights reserved.
4 This software and associated documentation (if any) is furnished
5 under a license and may only be used or copied in accordance
6 with the terms of the license. Except as permitted by such
7 license, no part of this software or documentation may be
8 reproduced, stored in a retrieval system, or transmitted in any
9 form or by any means without the express written consent of
10 Intel Corporation.
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 #define EFI_PS2_POLICY_PROTOCOL_GUID \
27 { \
28 0x4df19259, 0xdc71, 0x4d46, {0xbe, 0xf1, 0x35, 0x7b, 0xb5, 0x78, 0xc4, 0x18 } \
29 }
30
31 #define EFI_KEYBOARD_CAPSLOCK 0x0004
32 #define EFI_KEYBOARD_NUMLOCK 0x0002
33 #define EFI_KEYBOARD_SCROLLLOCK 0x0001
34
35 typedef
36 EFI_STATUS
37 (EFIAPI *EFI_PS2_INIT_HARDWARE) (
38 IN EFI_HANDLE Handle
39 );
40
41 typedef struct {
42 UINT8 KeyboardLight;
43 EFI_PS2_INIT_HARDWARE Ps2InitHardware;
44 } EFI_PS2_POLICY_PROTOCOL;
45
46 extern EFI_GUID gEfiPs2PolicyProtocolGuid;
47
48 #endif