-#/** @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 - 2014, 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
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
[Defines]\r
INF_VERSION = 0x00010005\r
- BASE_NAME = Ps2Keyboard\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
-#\r
-# The following information is for reference only and not required by the build tools.\r
#\r
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+# DRIVER_BINDING = gKeyboardControllerDriver;\r
+# COMPONENT_NAME = gPs2KeyboardComponentName;\r
+# COMPONENT_NAME2 = gPs2KeyboardComponentName2;\r
#\r
-# DRIVER_BINDING = gKeyboardControllerDriver\r
-# COMPONENT_NAME = gPs2KeyboardComponentName\r
-# Create Event Guid C Name: Event Type: EVENT_TYPE_RELATIVE_TIMER\r
-# Create Event Guid C Name: Event Type: EVENT_TYPE_PERIODIC_TIMER\r
-#\r
-# Signal Event Guid C Name: Event Type: EVENT_TYPE_PERIODIC_TIMER\r
-#\r
-#\r
-\r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
-#\r
-################################################################################\r
\r
-[Sources.common]\r
+[Sources]\r
ComponentName.c\r
Ps2Keyboard.h\r
Ps2KbdCtrller.c\r
Ps2KbdTextIn.c\r
Ps2Keyboard.c\r
- EntryPoint.c\r
\r
\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-# this module.\r
-#\r
-################################################################################\r
-\r
[Packages]\r
MdePkg/MdePkg.dec\r
- MdeModulePkg/MdeModulePkg.dec\r
IntelFrameworkPkg/IntelFrameworkPkg.dec\r
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec\r
\r
-\r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-# this module.\r
-#\r
-################################################################################\r
-\r
[LibraryClasses]\r
MemoryAllocationLib\r
UefiRuntimeServicesTableLib\r
UefiBootServicesTableLib\r
UefiLib\r
UefiDriverEntryPoint\r
+ BaseLib\r
+ BaseMemoryLib\r
+ TimerLib\r
+ PcdLib\r
+ \r
+[Protocols]\r
+ gEfiSimpleTextInProtocolGuid ## BY_START\r
+ gEfiSimpleTextInputExProtocolGuid ## BY_START\r
+ gEfiPs2PolicyProtocolGuid ## SOMETIMES_CONSUMES\r
+ gEfiIsaIoProtocolGuid ## TO_START\r
+ gEfiDevicePathProtocolGuid ## TO_START\r
+\r
+[FeaturePcd]\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification ## CONSUMES\r
\r
+[Pcd]\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdFastPS2Detection ## SOMETIMES_CONSUMES\r
\r
-################################################################################\r
#\r
-# Protocol C Name Section - list of Protocol and Protocol Notify C Names\r
-# that this module uses or produces.\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
-\r
-[Protocols]\r
- gEfiPs2PolicyProtocolGuid # PROTOCOL TO_START\r
- gEfiIsaIoProtocolGuid # PROTOCOL TO_START\r
- gEfiSimpleTextInProtocolGuid # PROTOCOL BY_START\r
- gEfiDevicePathProtocolGuid # PROTOCOL TO_START\r
\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ Ps2KeyboardDxeExtra.uni\r