[edk2-devel] [edk2-platforms] [Patch v2 0/9] Enable Ps2 keyboard

Agyeman, Prince posted 9 patches 1 week ago
Failed in applying to current master (apply log)
.../Intel/BoardModulePkg/BoardModulePkg.dec   |  25 +++
.../Intel/BoardModulePkg/BoardModulePkg.dsc   |   6 +
.../LegacySioDxe/ComponentName.c              |   2 +-
.../LegacySioDxe/ComponentName.h              |   2 +-
.../LegacySioDxe/LegacySioDxe.inf             |  17 +-
.../LegacySioDxe/Register.h                   |   0
.../LegacySioDxe/SioChip.c                    |  70 +++++-
.../LegacySioDxe/SioChip.h                    |  18 +-
.../LegacySioDxe/SioDriver.c                  |  40 ++++
.../LegacySioDxe/SioDriver.h                  |   1 -
.../LegacySioDxe/SioService.c                 |   0
.../LegacySioDxe/SioService.h                 |   2 +-
.../Library/BdsPs2KbcLib/BdsPs2KbcLib.c       | 202 ++++++++++++++++++
.../Library/BdsPs2KbcLib/BdsPs2KbcLib.h       |  65 ++++++
.../Library/BdsPs2KbcLib/BdsPs2KbcLib.inf     |  38 ++++
.../BoardAcpiLib/DxeBoardAcpiTableLib.inf     |   3 +-
.../DxeMultiBoardAcpiSupportLib.inf           |   3 +-
.../GalagoPro3/OpenBoardPkg.dsc               |   7 +
.../GalagoPro3/OpenBoardPkg.fdf               |   2 +
.../GalagoPro3/OpenBoardPkgPcd.dsc            |   6 +
.../BoardAcpiLib/DxeBoardAcpiTableLib.inf     |   3 +-
.../DxeMultiBoardAcpiSupportLib.inf           |   3 +-
.../KabylakeRvp3/OpenBoardPkg.dsc             |   6 +
.../KabylakeRvp3/OpenBoardPkg.fdf             |   2 +
.../KabylakeRvp3/OpenBoardPkgPcd.dsc          |   7 +
.../KabylakeOpenBoardPkg/OpenBoardPkg.dec     |   2 -
.../BoardX58Ich10/OpenBoardPkg.dsc            |   3 +-
.../BoardX58Ich10/OpenBoardPkg.fdf            |   2 +-
.../BoardX58Ich10/OpenBoardPkgPcd.dsc         |   6 +
.../WhiskeylakeOpenBoardPkg/OpenBoardPkg.dec  |   1 -
.../WhiskeylakeURvp/OpenBoardPkg.dsc          |   6 +
.../WhiskeylakeURvp/OpenBoardPkg.fdf          |   2 +
.../WhiskeylakeURvp/OpenBoardPkgPcd.dsc       |   6 +
33 files changed, 523 insertions(+), 35 deletions(-)
rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/ComponentName.c (96%)
rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/ComponentName.h (96%)
rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/LegacySioDxe.inf (63%)
rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/Register.h (100%)
rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioChip.c (75%)
rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioChip.h (90%)
rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioDriver.c (88%)
rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioDriver.h (95%)
rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioService.c (100%)
rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioService.h (97%)
create mode 100644 Platform/Intel/BoardModulePkg/Library/BdsPs2KbcLib/BdsPs2KbcLib.c
create mode 100644 Platform/Intel/BoardModulePkg/Library/BdsPs2KbcLib/BdsPs2KbcLib.h
create mode 100644 Platform/Intel/BoardModulePkg/Library/BdsPs2KbcLib/BdsPs2KbcLib.inf

[edk2-devel] [edk2-platforms] [Patch v2 0/9] Enable Ps2 keyboard

Posted by Agyeman, Prince 1 week ago
This patch series enables BIOS Ps2 keyboard in GalagoPro3

Changes in v2:
* fixed typos
* fixed discriptions
* broke patches down as per recommendation from Michael Kubacki
* renamed the Ps2KbcLib to BdsPs2KbcLib
* moved BdsPs2KbcLib to BoardModulePkg as it is generic and can be
shared

What was done in v1:
Patch 0001 adds PCDs to BoardModulePkg that will enable/disable,
describe Super I/O , Ps2 keyboard/mouse, uart1 and uart2 com ports

Patch 0002 moves the generic Super I/O driver from SimicsOpenBoardPkg to
BoardModulePkg in order for it to be shared. This driver publishes the
gEfiSioProtocolGuid consumed by edk2's MdeModulePkg/Bus/Isa/Ps2KeyboardDxe
driver to enable Ps2 keyboard functions in BIOS

Patch 0003 adds PCDs defined in patch 0001 to enable/disable devices in the
Super I/O driver added in patch 0002

Patch 0004 adds a Null Ps2 Library that adds Ps2 keyboard device path to
ConIn and ConInDev

Cc: Michael Kubacki <michael.a.kubacki@intel.com>
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>

Patch 0005 enables Ps2 keyboard in BIOS by setting Ps2 keyboard related PCDs
Prince Agyeman (9):
  BoardModulePkg: Add gBoardModulePkgTokenSpaceGuid
  SimicsOpenBoardPkg: Remove Super I/O DXE driver
  BoardModulePkg: Add Super I/O driver
  BoardModulePkg: Add fix at build Pcds
  BoardModulePkg: Added Pcds to Super I/O driver
  BoardModulePkg: Add Ps2 Keyboard Library
  KabylakeOpenBoardPkg: Add Ps2 Keyboard Support
  SimicsOpenBoardPkg: Add Ps2 keyboard Support
  WhiskeylakeOpenBoardPkg: Add Ps2 Keyboard Support

 .../Intel/BoardModulePkg/BoardModulePkg.dec   |  25 +++
 .../Intel/BoardModulePkg/BoardModulePkg.dsc   |   6 +
 .../LegacySioDxe/ComponentName.c              |   2 +-
 .../LegacySioDxe/ComponentName.h              |   2 +-
 .../LegacySioDxe/LegacySioDxe.inf             |  17 +-
 .../LegacySioDxe/Register.h                   |   0
 .../LegacySioDxe/SioChip.c                    |  70 +++++-
 .../LegacySioDxe/SioChip.h                    |  18 +-
 .../LegacySioDxe/SioDriver.c                  |  40 ++++
 .../LegacySioDxe/SioDriver.h                  |   1 -
 .../LegacySioDxe/SioService.c                 |   0
 .../LegacySioDxe/SioService.h                 |   2 +-
 .../Library/BdsPs2KbcLib/BdsPs2KbcLib.c       | 202 ++++++++++++++++++
 .../Library/BdsPs2KbcLib/BdsPs2KbcLib.h       |  65 ++++++
 .../Library/BdsPs2KbcLib/BdsPs2KbcLib.inf     |  38 ++++
 .../BoardAcpiLib/DxeBoardAcpiTableLib.inf     |   3 +-
 .../DxeMultiBoardAcpiSupportLib.inf           |   3 +-
 .../GalagoPro3/OpenBoardPkg.dsc               |   7 +
 .../GalagoPro3/OpenBoardPkg.fdf               |   2 +
 .../GalagoPro3/OpenBoardPkgPcd.dsc            |   6 +
 .../BoardAcpiLib/DxeBoardAcpiTableLib.inf     |   3 +-
 .../DxeMultiBoardAcpiSupportLib.inf           |   3 +-
 .../KabylakeRvp3/OpenBoardPkg.dsc             |   6 +
 .../KabylakeRvp3/OpenBoardPkg.fdf             |   2 +
 .../KabylakeRvp3/OpenBoardPkgPcd.dsc          |   7 +
 .../KabylakeOpenBoardPkg/OpenBoardPkg.dec     |   2 -
 .../BoardX58Ich10/OpenBoardPkg.dsc            |   3 +-
 .../BoardX58Ich10/OpenBoardPkg.fdf            |   2 +-
 .../BoardX58Ich10/OpenBoardPkgPcd.dsc         |   6 +
 .../WhiskeylakeOpenBoardPkg/OpenBoardPkg.dec  |   1 -
 .../WhiskeylakeURvp/OpenBoardPkg.dsc          |   6 +
 .../WhiskeylakeURvp/OpenBoardPkg.fdf          |   2 +
 .../WhiskeylakeURvp/OpenBoardPkgPcd.dsc       |   6 +
 33 files changed, 523 insertions(+), 35 deletions(-)
 rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/ComponentName.c (96%)
 rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/ComponentName.h (96%)
 rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/LegacySioDxe.inf (63%)
 rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/Register.h (100%)
 rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioChip.c (75%)
 rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioChip.h (90%)
 rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioDriver.c (88%)
 rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioDriver.h (95%)
 rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioService.c (100%)
 rename Platform/Intel/{SimicsOpenBoardPkg => BoardModulePkg}/LegacySioDxe/SioService.h (97%)
 create mode 100644 Platform/Intel/BoardModulePkg/Library/BdsPs2KbcLib/BdsPs2KbcLib.c
 create mode 100644 Platform/Intel/BoardModulePkg/Library/BdsPs2KbcLib/BdsPs2KbcLib.h
 create mode 100644 Platform/Intel/BoardModulePkg/Library/BdsPs2KbcLib/BdsPs2KbcLib.inf

-- 
2.19.1.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#50016): https://edk2.groups.io/g/devel/message/50016
Mute This Topic: https://groups.io/mt/42928903/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-