summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-06 09:10:21 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-06 09:10:21 +0000
commita534fc0b344d474c8eb3937be1fca98ea1389878 (patch)
tree8f8c251c6bab8bdacf0217ea3e8121a8b25e5d93 /IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h
parent05fbd06d913397d0fca2ba4dc9cbdb4bda08a42e (diff)
downloadedk2-platforms-a534fc0b344d474c8eb3937be1fca98ea1389878.tar.xz
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
Diffstat (limited to 'IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h')
-rw-r--r--IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h48
1 files changed, 48 insertions, 0 deletions
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