audk/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe
Dandan Bi f316a26013 MdeModulePkg: Avoid key notification called more than once
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=996

Issue:
In current code logic, when a key is pressed, it will search
the whole NotifyList to find whether a notification has been
registered with the keystroke. if yes, it will en-queue the
key for notification execution later. And now if different
notification functions have been registered with the same key,
then the key will be en-queued more than once. Then it will
cause the notification executed more than once.

This patch is to enhance the code logic to fix this issue.

Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
2018-09-14 10:18:31 +08:00
..
ComponentName.c MdeModulePkg: Add Ps2KeyboardDxe driver. 2016-04-08 17:45:54 +08:00
Ps2KbdCtrller.c MdeModulePkg: Avoid key notification called more than once 2018-09-14 10:18:31 +08:00
Ps2KbdTextIn.c MdeModulePkg: Clean up source files 2018-06-28 11:19:45 +08:00
Ps2Keyboard.c MdeModulePkg Ps2KbDxe: Execute key notify func at TPL_CALLBACK 2016-12-26 18:17:00 +08:00
Ps2Keyboard.h MdeModulePkg Ps2KeyboardDxe: Remove a redundant function 2018-08-21 16:29:05 +08:00
Ps2KeyboardDxe.inf MdeModulePkg: Removing ipf which is no longer supported from edk2. 2018-09-06 15:25:16 +08:00
Ps2KeyboardDxe.uni MdeModulePkg: Add Ps2KeyboardDxe driver. 2016-04-08 17:45:54 +08:00
Ps2KeyboardDxeExtra.uni MdeModulePkg: Add Ps2KeyboardDxe driver. 2016-04-08 17:45:54 +08:00