]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h
MdeModulePkg TerminalDxe: Execute key notify func at TPL_CALLBACK
authorStar Zeng <star.zeng@intel.com>
Mon, 19 Dec 2016 14:21:11 +0000 (22:21 +0800)
committerStar Zeng <star.zeng@intel.com>
Mon, 26 Dec 2016 10:16:59 +0000 (18:16 +0800)
commit47b612db902fcdd133dc69b5db8d304f7498bd10
tree7f84abce39b6bfb03570bfe1263283c911370a99
parent4ae46dbacd8b049c66714c3578a88ecc09dcec95
MdeModulePkg TerminalDxe: Execute key notify func at TPL_CALLBACK

Current implementation 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.

Cc: Ruiyu Ni <Ruiyu.ni@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <Ruiyu.ni@intel.com>
MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h
MdeModulePkg/Universal/Console/TerminalDxe/TerminalConIn.c