audk/IntelFrameworkModulePkg
Dandan Bi f92b8ee3b7 IntelFrameworkModulePkg: 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: Liming Gao <liming.gao@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>
2018-09-14 10:18:31 +08:00
..
Bus IntelFrameworkModulePkg: Avoid key notification called more than once 2018-09-14 10:18:31 +08:00
Csm IntelFrameworkModulePkg: Avoid key notification called more than once 2018-09-14 10:18:31 +08:00
Include IntelFrameworkModulePkg: Clean up source files 2018-06-28 11:19:42 +08:00
Library IntelFrameworkModulePkg: Removing ipf from edk2. 2018-06-29 16:19:44 +08:00
Universal IntelFrameworkModulePkg BdsDxe: Remove redundant functions 2018-08-23 22:46:18 -07:00
IntelFrameworkModulePkg.dec IntelFrameworkModulePkg: Clean up source files 2018-06-28 11:19:42 +08:00
IntelFrameworkModulePkg.dsc IntelFrameworkModulePkg: Removing ipf from edk2. 2018-06-29 16:19:44 +08:00
IntelFrameworkModulePkg.uni IntelFrameworkModulePkg AcpiS3SaveDxe: Remove S3Ready() functional code 2016-04-07 17:32:03 +02:00
IntelFrameworkModulePkgExtra.uni IntelFrameworkModulePkg: Clean up source files 2018-06-28 11:19:42 +08:00