]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add in Ps2keyboard.inf and Ps2Mouse.inf to IntelFrameworkModuelPkg
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 6 Jul 2007 09:10:21 +0000 (09:10 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 6 Jul 2007 09:10:21 +0000 (09:10 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3113 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h [new file with mode: 0644]

diff --git a/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h b/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h
new file mode 100644 (file)
index 0000000..56a007a
--- /dev/null
@@ -0,0 +1,48 @@
+/*++\r
+\r
+Copyright (c) 2006, Intel Corporation. All rights reserved. \r
+This software and associated documentation (if any) is furnished\r
+under a license and may only be used or copied in accordance\r
+with the terms of the license. Except as permitted by such\r
+license, no part of this software or documentation may be\r
+reproduced, stored in a retrieval system, or transmitted in any\r
+form or by any means without the express written consent of\r
+Intel Corporation.\r
+\r
+\r
+Module Name:\r
+\r
+  Ps2Policy.h\r
+    \r
+Abstract:\r
+\r
+  Protocol used for PS/2 Policy definition.\r
+\r
+--*/\r
+\r
+#ifndef _PS2_POLICY_PROTOCOL_H_\r
+#define _PS2_POLICY_PROTOCOL_H_\r
+\r
+#define EFI_PS2_POLICY_PROTOCOL_GUID \\r
+  { \\r
+    0x4df19259, 0xdc71, 0x4d46, {0xbe, 0xf1, 0x35, 0x7b, 0xb5, 0x78, 0xc4, 0x18 } \\r
+  }\r
+\r
+#define EFI_KEYBOARD_CAPSLOCK   0x0004\r
+#define EFI_KEYBOARD_NUMLOCK    0x0002\r
+#define EFI_KEYBOARD_SCROLLLOCK 0x0001\r
+\r
+typedef\r
+EFI_STATUS\r
+(EFIAPI *EFI_PS2_INIT_HARDWARE) (\r
+  IN  EFI_HANDLE              Handle\r
+  );\r
+\r
+typedef struct {\r
+  UINT8                 KeyboardLight;\r
+  EFI_PS2_INIT_HARDWARE Ps2InitHardware;\r
+} EFI_PS2_POLICY_PROTOCOL;\r
+\r
+extern EFI_GUID gEfiPs2PolicyProtocolGuid;\r
+\r
+#endif\r