]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiLib/UefiLib.c
MdePkg/UefiLib: move InternalEmptyFunction to UefiLib.c
[mirror_edk2.git] / MdePkg / Library / UefiLib / UefiLib.c
index 112766ad86345ee9a5c3261e16c15081bf7e133e..ba3acc1af228e55a16b85c657fa58a4c2b27d6ef 100644 (file)
@@ -1545,3 +1545,22 @@ GetBestLanguage (
   return NULL;\r
 }\r
 \r
+/**\r
+  An empty function to pass error checking of CreateEventEx ().\r
+\r
+  This empty function ensures that EVT_NOTIFY_SIGNAL_ALL is error\r
+  checked correctly since it is now mapped into CreateEventEx() in UEFI 2.0.\r
+\r
+  @param  Event                 Event whose notification function is being invoked.\r
+  @param  Context               The pointer to the notification function's context,\r
+                                which is implementation-dependent.\r
+\r
+**/\r
+VOID\r
+EFIAPI\r
+InternalEmptyFunction (\r
+  IN EFI_EVENT                Event,\r
+  IN VOID                     *Context\r
+  )\r
+{\r
+}\r