]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Protocol/Ps2Policy.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Include / Protocol / Ps2Policy.h
1 /** @file
2 PS/2 policy protocol abstracts the specific platform initialization and settings.
3
4 Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9
10 #ifndef _PS2_POLICY_PROTOCOL_H_
11 #define _PS2_POLICY_PROTOCOL_H_
12
13 #define EFI_PS2_POLICY_PROTOCOL_GUID \
14 { \
15 0x4df19259, 0xdc71, 0x4d46, {0xbe, 0xf1, 0x35, 0x7b, 0xb5, 0x78, 0xc4, 0x18 } \
16 }
17
18 #define EFI_KEYBOARD_CAPSLOCK 0x0004
19 #define EFI_KEYBOARD_NUMLOCK 0x0002
20 #define EFI_KEYBOARD_SCROLLLOCK 0x0001
21
22 typedef
23 EFI_STATUS
24 (EFIAPI *EFI_PS2_INIT_HARDWARE) (
25 IN EFI_HANDLE Handle
26 );
27
28 typedef struct {
29 UINT8 KeyboardLight;
30 EFI_PS2_INIT_HARDWARE Ps2InitHardware;
31 } EFI_PS2_POLICY_PROTOCOL;
32
33 extern EFI_GUID gEfiPs2PolicyProtocolGuid;
34
35 #endif