]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Include/Protocol/Ps2Policy.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[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 #ifndef _PS2_POLICY_PROTOCOL_H_
10 #define _PS2_POLICY_PROTOCOL_H_
11
12 #define EFI_PS2_POLICY_PROTOCOL_GUID \
13 { \
14 0x4df19259, 0xdc71, 0x4d46, {0xbe, 0xf1, 0x35, 0x7b, 0xb5, 0x78, 0xc4, 0x18 } \
15 }
16
17 #define EFI_KEYBOARD_CAPSLOCK 0x0004
18 #define EFI_KEYBOARD_NUMLOCK 0x0002
19 #define EFI_KEYBOARD_SCROLLLOCK 0x0001
20
21 typedef
22 EFI_STATUS
23 (EFIAPI *EFI_PS2_INIT_HARDWARE)(
24 IN EFI_HANDLE Handle
25 );
26
27 typedef struct {
28 UINT8 KeyboardLight;
29 EFI_PS2_INIT_HARDWARE Ps2InitHardware;
30 } EFI_PS2_POLICY_PROTOCOL;
31
32 extern EFI_GUID gEfiPs2PolicyProtocolGuid;
33
34 #endif