From: qwang12 Date: Fri, 6 Jul 2007 09:10:21 +0000 (+0000) Subject: Add in Ps2keyboard.inf and Ps2Mouse.inf to IntelFrameworkModuelPkg X-Git-Tag: edk2-stable201903~22842 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=a534fc0b344d474c8eb3937be1fca98ea1389878 Add in Ps2keyboard.inf and Ps2Mouse.inf to IntelFrameworkModuelPkg git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3113 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h b/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h new file mode 100644 index 0000000000..56a007ac0d --- /dev/null +++ b/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h @@ -0,0 +1,48 @@ +/*++ + +Copyright (c) 2006, Intel Corporation. All rights reserved. +This software and associated documentation (if any) is furnished +under a license and may only be used or copied in accordance +with the terms of the license. Except as permitted by such +license, no part of this software or documentation may be +reproduced, stored in a retrieval system, or transmitted in any +form or by any means without the express written consent of +Intel Corporation. + + +Module Name: + + Ps2Policy.h + +Abstract: + + Protocol used for PS/2 Policy definition. + +--*/ + +#ifndef _PS2_POLICY_PROTOCOL_H_ +#define _PS2_POLICY_PROTOCOL_H_ + +#define EFI_PS2_POLICY_PROTOCOL_GUID \ + { \ + 0x4df19259, 0xdc71, 0x4d46, {0xbe, 0xf1, 0x35, 0x7b, 0xb5, 0x78, 0xc4, 0x18 } \ + } + +#define EFI_KEYBOARD_CAPSLOCK 0x0004 +#define EFI_KEYBOARD_NUMLOCK 0x0002 +#define EFI_KEYBOARD_SCROLLLOCK 0x0001 + +typedef +EFI_STATUS +(EFIAPI *EFI_PS2_INIT_HARDWARE) ( + IN EFI_HANDLE Handle + ); + +typedef struct { + UINT8 KeyboardLight; + EFI_PS2_INIT_HARDWARE Ps2InitHardware; +} EFI_PS2_POLICY_PROTOCOL; + +extern EFI_GUID gEfiPs2PolicyProtocolGuid; + +#endif