• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2# Ps2 Keyboard Driver.
3#
4# Ps2 Keyboard Driver for UEFI. The keyboard type implemented follows IBM
5# compatible PS2 protocol using Scan Code Set 1.
6#
7# Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
8#
9# This program and the accompanying materials
10# are licensed and made available under the terms and conditions of the BSD License
11# which accompanies this distribution.  The full text of the license may be found at
12# http://opensource.org/licenses/bsd-license.php
13#
14# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16#
17#
18##
19
20[Defines]
21  INF_VERSION                    = 0x00010005
22  BASE_NAME                      = Ps2KeyboardDxe
23  MODULE_UNI_FILE                = Ps2KeyboardDxe.uni
24  FILE_GUID                      = 3DC82376-637B-40a6-A8FC-A565417F2C38
25  MODULE_TYPE                    = UEFI_DRIVER
26  VERSION_STRING                 = 1.0
27  ENTRY_POINT                    = InitializePs2Keyboard
28
29#
30#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
31#  DRIVER_BINDING                = gKeyboardControllerDriver;
32#  COMPONENT_NAME                = gPs2KeyboardComponentName;
33#  COMPONENT_NAME2               = gPs2KeyboardComponentName2;
34#
35
36[Sources]
37  ComponentName.c
38  Ps2Keyboard.h
39  Ps2KbdCtrller.c
40  Ps2KbdTextIn.c
41  Ps2Keyboard.c
42
43
44[Packages]
45  MdePkg/MdePkg.dec
46  MdeModulePkg/MdeModulePkg.dec
47  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
48
49[LibraryClasses]
50  MemoryAllocationLib
51  UefiRuntimeServicesTableLib
52  DebugLib
53  ReportStatusCodeLib
54  UefiBootServicesTableLib
55  UefiLib
56  UefiDriverEntryPoint
57  BaseLib
58  BaseMemoryLib
59  TimerLib
60  PcdLib
61
62[Protocols]
63  gEfiSimpleTextInProtocolGuid                  ## BY_START
64  gEfiSimpleTextInputExProtocolGuid             ## BY_START
65  gEfiPs2PolicyProtocolGuid                     ## SOMETIMES_CONSUMES
66  gEfiIsaIoProtocolGuid                         ## TO_START
67  gEfiDevicePathProtocolGuid                    ## TO_START
68
69[FeaturePcd]
70  gEfiMdeModulePkgTokenSpaceGuid.PcdPs2KbdExtendedVerification   ## CONSUMES
71
72[Pcd]
73  gEfiMdeModulePkgTokenSpaceGuid.PcdFastPS2Detection             ## SOMETIMES_CONSUMES
74
75#
76# [Event]
77#
78#   ##
79#   # Timer event used to read key strokes at a regular interval.
80#   #
81#   EVENT_TYPE_PERIODIC_TIMER   ## CONSUMES
82#
83
84[UserExtensions.TianoCore."ExtraFiles"]
85  Ps2KeyboardDxeExtra.uni
86