-#/** @file\r
-# Ps2 Keyboard UEFI Driver which produce gEfiSimpleTextInProtocolGuid and gEfiSimpleTextInputExProtocolGuid\r
-# protocol. \r
-# The keyboard type implemented follows IBM compatible PS2 protocol, with Scan Codes Set 1.\r
+## @file\r
+# Ps2 Keyboard Driver.\r
#\r
-# This dirver directly uses IsaIo protocol service to support KeyBoard work.\r
-# Copyright (c) 2006 - 2009, Intel Corporation.\r
+# Ps2 Keyboard Driver for UEFI. The keyboard type implemented follows IBM\r
+# compatible PS2 protocol using Scan Code Set 1.\r
#\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+#\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
#\r
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = Ps2KeyboardDxe\r
+ MODULE_UNI_FILE = Ps2KeyboardDxe.uni\r
FILE_GUID = 3DC82376-637B-40a6-A8FC-A565417F2C38\r
MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
ENTRY_POINT = InitializePs2Keyboard\r
\r
#\r
# COMPONENT_NAME2 = gPs2KeyboardComponentName2;\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
ComponentName.c\r
Ps2Keyboard.h\r
Ps2KbdCtrller.c\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
- IntelFrameworkPkg/IntelFrameworkPkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r
\r
[LibraryClasses]\r
BaseLib\r
BaseMemoryLib\r
TimerLib\r
- \r
+ PcdLib\r
+\r
[Protocols]\r
- gEfiPs2PolicyProtocolGuid # PROTOCOL TO_START\r
- gEfiIsaIoProtocolGuid # PROTOCOL TO_START\r
- gEfiSimpleTextInProtocolGuid # PROTOCOL BY_START\r
- gEfiSimpleTextInputExProtocolGuid # PROTOCOL BY_START\r
- gEfiDevicePathProtocolGuid # PROTOCOL TO_START\r
+ gEfiSimpleTextInProtocolGuid ## BY_START\r
+ gEfiSimpleTextInputExProtocolGuid ## BY_START\r
+ gEfiPs2PolicyProtocolGuid ## SOMETIMES_CONSUMES\r
+ gEfiIsaIoProtocolGuid ## TO_START\r
+ gEfiDevicePathProtocolGuid ## TO_START\r
+\r
+[FeaturePcd]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification ## CONSUMES\r
\r
+[Pcd]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection ## SOMETIMES_CONSUMES\r
+\r
+#\r
# [Event]\r
-# ##\r
-# # Event will be signaled for WaitForKey event.\r
-# #\r
-# EVT_NOTIFY_WAIT ## PRODUCES\r
#\r
# ##\r
-# # Event will be used to poll mouse state.\r
+# # Timer event used to read key strokes at a regular interval.\r
# #\r
-# EVT_NOTIFY_SIGNAL ## PRODUCES\r
+# EVENT_TYPE_PERIODIC_TIMER ## CONSUMES\r
+#\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ Ps2KeyboardDxeExtra.uni\r