MdeModulePkg: Add Ps2KeyboardDxe driver.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
84
MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
Normal file
84
MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
Normal file
@@ -0,0 +1,84 @@
|
||||
## @file
|
||||
# Ps2 Keyboard Driver.
|
||||
#
|
||||
# Ps2 Keyboard Driver for UEFI. The keyboard type implemented follows IBM
|
||||
# compatible PS2 protocol using Scan Code Set 1.
|
||||
#
|
||||
# Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials
|
||||
# are licensed and made available under the terms and conditions of the BSD License
|
||||
# which accompanies this distribution. The full text of the license may be found at
|
||||
# http://opensource.org/licenses/bsd-license.php
|
||||
#
|
||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#
|
||||
#
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = Ps2KeyboardDxe
|
||||
MODULE_UNI_FILE = Ps2KeyboardDxe.uni
|
||||
FILE_GUID = 3DC82376-637B-40a6-A8FC-A565417F2C38
|
||||
MODULE_TYPE = UEFI_DRIVER
|
||||
VERSION_STRING = 1.0
|
||||
ENTRY_POINT = InitializePs2Keyboard
|
||||
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
||||
# DRIVER_BINDING = gKeyboardControllerDriver;
|
||||
# COMPONENT_NAME = gPs2KeyboardComponentName;
|
||||
# COMPONENT_NAME2 = gPs2KeyboardComponentName2;
|
||||
#
|
||||
|
||||
[Sources]
|
||||
ComponentName.c
|
||||
Ps2Keyboard.h
|
||||
Ps2KbdCtrller.c
|
||||
Ps2KbdTextIn.c
|
||||
Ps2Keyboard.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
MemoryAllocationLib
|
||||
UefiRuntimeServicesTableLib
|
||||
DebugLib
|
||||
ReportStatusCodeLib
|
||||
UefiBootServicesTableLib
|
||||
UefiLib
|
||||
UefiDriverEntryPoint
|
||||
BaseLib
|
||||
BaseMemoryLib
|
||||
TimerLib
|
||||
PcdLib
|
||||
IoLib
|
||||
|
||||
[Protocols]
|
||||
gEfiSimpleTextInProtocolGuid ## BY_START
|
||||
gEfiSimpleTextInputExProtocolGuid ## BY_START
|
||||
gEfiPs2PolicyProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiSioProtocolGuid ## TO_START
|
||||
gEfiDevicePathProtocolGuid ## TO_START
|
||||
|
||||
[FeaturePcd]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification ## CONSUMES
|
||||
|
||||
[Pcd]
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection ## SOMETIMES_CONSUMES
|
||||
|
||||
#
|
||||
# [Event]
|
||||
#
|
||||
# ##
|
||||
# # Timer event used to read key strokes at a regular interval.
|
||||
# #
|
||||
# EVENT_TYPE_PERIODIC_TIMER ## CONSUMES
|
||||
#
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
Ps2KeyboardDxeExtra.uni
|
Reference in New Issue
Block a user