public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/5] Execute key notify function at TPL_CALLBACK
@ 2016-12-22 13:45 Star Zeng
  2016-12-22 13:45 ` [PATCH 1/5] MdeModulePkg UsbKbDxe: Execute key notify func " Star Zeng
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Star Zeng @ 2016-12-22 13:45 UTC (permalink / raw)
  To: edk2-devel
  Cc: Star Zeng, Ruiyu Ni, Michael Kinney, Feng Tian, Jeff Fan,
	Michael Zimmermann

Current implementation of keyboard driver executes key notify
function in TimerHandler at TPL_NOTIFY. The code change is to
make key notify function executed at TPL_CALLBACK to reduce
the time occupied at TPL_NOTIFY.

The code will signal KeyNotify process event if the key pressed
matches any key registered and insert the KeyData to the EFI Key
queue for notify, then the KeyNotify process handler will invoke
key notify functions at TPL_CALLBACK.

It can also address the problem raised at
https://lists.01.org/pipermail/edk2-devel/2016-December/005644.html

Cc: Ruiyu Ni <Ruiyu.ni@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Michael Zimmermann <sigmaepsilon92@gmail.com>

Star Zeng (5):
  MdeModulePkg UsbKbDxe: Execute key notify func at TPL_CALLBACK
  MdeModulePkg TerminalDxe: Execute key notify func at TPL_CALLBACK
  MdeModulePkg Ps2KbDxe: Execute key notify func at TPL_CALLBACK
  IntelFrameworkModulePkg Ps2KbDxe: Execute key notify func at
    TPL_CALLBACK
  IntelFrameworkModulePkg KbDxe: Execute key notify func at TPL_CALLBACK

 .../Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c         |   9 +-
 .../Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c          |  47 +++++-
 .../Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c           |  23 ++-
 .../Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h           |  15 ++
 .../Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c       |  75 ++++++++-
 .../Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h       |  17 +-
 .../Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c         |   7 +-
 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdTextIn.c |  45 ++++++
 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.c  |  20 +++
 MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2Keyboard.h  |  15 ++
 MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.c             |  64 +++++++-
 MdeModulePkg/Bus/Usb/UsbKbDxe/EfiKey.h             |  17 +-
 MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c           |  10 +-
 .../Universal/Console/TerminalDxe/Terminal.c       |  25 ++-
 .../Universal/Console/TerminalDxe/Terminal.h       |  80 +++++++++-
 .../Universal/Console/TerminalDxe/TerminalConIn.c  | 177 ++++++++++++++++++++-
 16 files changed, 622 insertions(+), 24 deletions(-)

-- 
2.7.0.windows.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-12-23  8:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-22 13:45 [PATCH 0/5] Execute key notify function at TPL_CALLBACK Star Zeng
2016-12-22 13:45 ` [PATCH 1/5] MdeModulePkg UsbKbDxe: Execute key notify func " Star Zeng
2016-12-23  7:01   ` Ni, Ruiyu
2016-12-23  7:05     ` Zeng, Star
2016-12-23  7:09       ` Ni, Ruiyu
2016-12-23  7:28         ` Zeng, Star
2016-12-22 13:45 ` [PATCH 2/5] MdeModulePkg TerminalDxe: " Star Zeng
2016-12-22 13:45 ` [PATCH 3/5] MdeModulePkg Ps2KbDxe: " Star Zeng
2016-12-22 13:45 ` [PATCH 4/5] IntelFrameworkModulePkg " Star Zeng
2016-12-23  2:16   ` Fan, Jeff
2016-12-22 13:45 ` [PATCH 5/5] IntelFrameworkModulePkg KbDxe: " Star Zeng
2016-12-23  2:16   ` Fan, Jeff
2016-12-23  7:11 ` [PATCH 0/5] Execute key notify function " Ni, Ruiyu
2016-12-23  8:14   ` Zeng, Star

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox