diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-03-22 17:01:22 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-03-23 12:04:48 +0100 |
commit | ca8f50e88e03f05df6cea0b2ed7a100c08a900b8 (patch) | |
tree | 4abf10493c28f527d5c2e0f6cf18b1be5723784c /MdePkg/Library/UefiLib/UefiLibInternal.h | |
parent | 3570e3324835ba08fa68a1d0bf59290750ff797d (diff) | |
download | edk2-ca8f50e88e03f05df6cea0b2ed7a100c08a900b8.tar.gz edk2-ca8f50e88e03f05df6cea0b2ed7a100c08a900b8.tar.bz2 edk2-ca8f50e88e03f05df6cea0b2ed7a100c08a900b8.zip |
MdePkg/UefiLib: move InternalEmptyFunction to UefiLib.c
The InternalEmptyFunction() is currently only used by code in
"UefiNotTiano.c" -- "Library functions that abstract areas of conflict
between framework and UEFI 2.0.". In the next patches,
InternalEmptyFunction() will be used from "UefiLib.c" as well, hence
promote it to "general utility" status: move the function definition to
"UefiLib.c", and place the function declaration (which is already extern)
into "UefiLibInternal.h".
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg/Library/UefiLib/UefiLibInternal.h')
-rw-r--r-- | MdePkg/Library/UefiLib/UefiLibInternal.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/MdePkg/Library/UefiLib/UefiLibInternal.h b/MdePkg/Library/UefiLib/UefiLibInternal.h index 196830e10c..2311f27f1e 100644 --- a/MdePkg/Library/UefiLib/UefiLibInternal.h +++ b/MdePkg/Library/UefiLib/UefiLibInternal.h @@ -41,4 +41,22 @@ #include <Library/PrintLib.h>
#include <Library/DevicePathLib.h>
+/**
+ An empty function to pass error checking of CreateEventEx ().
+
+ This empty function ensures that EVT_NOTIFY_SIGNAL_ALL is error
+ checked correctly since it is now mapped into CreateEventEx() in UEFI 2.0.
+
+ @param Event Event whose notification function is being invoked.
+ @param Context The pointer to the notification function's context,
+ which is implementation-dependent.
+
+**/
+VOID
+EFIAPI
+InternalEmptyFunction (
+ IN EFI_EVENT Event,
+ IN VOID *Context
+ );
+
#endif
|