-#/** @file\r
-# Ps2 Keyboard Driver\r
+## @file\r
+# Ps2 Keyboard Driver.\r
#\r
-# This dirver directly uses IsaIo protocol service to support KeyBoard work.\r
-# Copyright (c) 2006 - 2007, 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
-# Copyright (c) 2006 - 2007, Intel Corporation\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 = DXE_DRIVER\r
+ MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
ENTRY_POINT = InitializePs2Keyboard\r
\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+#\r
+# VALID_ARCHITECTURES = IA32 X64 EBC\r
+# DRIVER_BINDING = gKeyboardControllerDriver;\r
+# COMPONENT_NAME = gPs2KeyboardComponentName;\r
+# COMPONENT_NAME2 = gPs2KeyboardComponentName2;\r
+#\r
\r
-[Sources.common]\r
+[Sources]\r
ComponentName.c\r
Ps2Keyboard.h\r
Ps2KbdCtrller.c\r
[Packages]\r
MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
- IntelFrameworkPkg/IntelFrameworkPkg.dec\r
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r
\r
[LibraryClasses]\r
UefiBootServicesTableLib\r
UefiLib\r
UefiDriverEntryPoint\r
+ BaseLib\r
+ BaseMemoryLib\r
+ TimerLib\r
+ PcdLib\r
\r
[Protocols]\r
- gEfiPs2PolicyProtocolGuid # PROTOCOL TO_START\r
- gEfiIsaIoProtocolGuid # PROTOCOL TO_START\r
- gEfiSimpleTextInProtocolGuid # 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
+# ##\r
+# # Timer event used to read key strokes at a regular interval.\r
+# #\r
+# EVENT_TYPE_PERIODIC_TIMER ## CONSUMES\r
+#\r
\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ Ps2KeyboardDxeExtra.uni\r