2019-09-03 11:58:42 +02:00
|
|
|
## @file
|
|
|
|
# Component description file for BiosKeyboard module.
|
|
|
|
#
|
|
|
|
# Ps2 Keyboard driver by using Legacy Bios protocol service and IsaIo protocol service.
|
|
|
|
# This dirver uses legacy INT16 to get the key stroke status.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2006 - 2011, 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 = KeyboardDxe
|
|
|
|
FILE_GUID = 5479662B-6AE4-49e8-A6BD-6DE4B625811F
|
|
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
|
|
|
|
ENTRY_POINT = InitializeBiosKeyboard
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
# DRIVER_BINDING = gBiosKeyboardDriverBinding
|
|
|
|
# COMPONENT_NAME = gBiosKeyboardComponentName
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
AppleKey.c
|
|
|
|
AppleKey.h
|
|
|
|
ComponentName.c
|
|
|
|
ComponentName.h
|
|
|
|
BiosKeyboard.c
|
|
|
|
BiosKeyboard.h
|
|
|
|
LegacyBiosThunk.c
|
|
|
|
|
|
|
|
|
|
|
|
[Packages]
|
2019-09-03 14:19:03 +02:00
|
|
|
CloverPkg.dec
|
2019-09-03 11:58:42 +02:00
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
|
|
|
IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
MemoryAllocationLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
ReportStatusCodeLib
|
|
|
|
BaseMemoryLib
|
|
|
|
UefiLib
|
|
|
|
DebugLib
|
|
|
|
BaseLib
|
|
|
|
PcdLib
|
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiIsaIoProtocolGuid # PROTOCOL TO_START
|
|
|
|
gEfiSimpleTextInProtocolGuid # PROTOCOL BY_START
|
|
|
|
gEfiSimpleTextInputExProtocolGuid # PROTOCOL BY_START
|
|
|
|
# gEfiLegacyBiosProtocolGuid # PROTOCOL TO_START
|
|
|
|
gEfiLegacy8259ProtocolGuid # PROTOCOL TO_START
|
|
|
|
gEfiPs2PolicyProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
|
|
|
gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
|
|
|
gAppleKeyMapDatabaseProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
|
|
|
|
|
|
|
|
[FeaturePcd]
|
|
|
|
# gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification|FALSE
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification|FALSE
|
|
|
|
|
|
|
|
[BuildOptions]
|
|
|
|
XCODE:*_*_*_CC_FLAGS = -Os -fno-builtin -DMDEPKG_NDEBUG
|
|
|
|
GCC:*_*_*_CC_FLAGS = -O0 -DMDEPKG_NDEBUG
|
|
|
|
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|