]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.h
IntelFrameworkModulePkg KbDxe: Execute key notify func at TPL_CALLBACK
[mirror_edk2.git] / IntelFrameworkModulePkg / Csm / BiosThunk / KeyboardDxe / BiosKeyboard.h
index e83608659bc1afce9a3ebc291a7fc5070949ea57..f38411aaa645c18d0610dce5489081d63dfc9dd7 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions\r
@@ -223,11 +223,13 @@ typedef struct {
   // Buffer storing EFI_KEY_DATA\r
   //\r
   SIMPLE_QUEUE                                Queue;\r
+  SIMPLE_QUEUE                                QueueForNotify;\r
 \r
   //\r
   // Notification Function List\r
   //\r
   LIST_ENTRY                                  NotifyList;\r
+  EFI_EVENT                                   KeyNotifyProcessEvent;\r
   EFI_EVENT                                   TimerEvent;\r
   \r
 } BIOS_KEYBOARD_DEV;\r
@@ -554,6 +556,19 @@ BiosKeyboardTimerHandler (
   IN VOID         *Context\r
   );\r
 \r
+/**\r
+  Process key notify.\r
+\r
+  @param  Event                 Indicates the event that invoke this function.\r
+  @param  Context               Indicates the calling context.\r
+**/\r
+VOID\r
+EFIAPI\r
+KeyNotifyProcessHandler (\r
+  IN  EFI_EVENT                 Event,\r
+  IN  VOID                      *Context\r
+  );\r
+\r
 /**\r
   Reset the input device and optionaly run diagnostics\r
  \r