summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2023-10-12 11:10:57 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-10-18 16:15:41 +0000
commit7fe49887c4d227e585d5aa5530ee8a8d79d5fa1e (patch)
tree5aa57c78e0c819ce6ff5303de93a1f05e2173c9a /EmbeddedPkg
parent3c3136d3b6ae2976cbe05ff2b8f23ae58b780034 (diff)
downloadedk2-7fe49887c4d227e585d5aa5530ee8a8d79d5fa1e.tar.gz
edk2-7fe49887c4d227e585d5aa5530ee8a8d79d5fa1e.tar.bz2
edk2-7fe49887c4d227e585d5aa5530ee8a8d79d5fa1e.zip
EmbeddedPkg/RealTimeClockLib: drop LibRtcVirtualNotifyEvent from lib class
The RealTimeClockLib class header in edk2 mistakenly declares a function called LibRtcVirtualNotifyEvent(). No component ever calls this function crossing module boundaries; all RealTimeClockLib instances in edk2 and edk2-platforms are supposed to register (and do register) their SetVirtualAddressMap() notification functions. At this point, the word "LibRtcVirtualNotifyEvent" no longer occurs in any of edk2, edk2-platforms, even edk2-non-osi, except the library class header proper. Remove the LibRtcVirtualNotifyEvent() function declaration. Build-tested only (with "EmbeddedPkg.dsc"). Cc: Abner Chang <abner.chang@amd.com> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Daniel Schaefer <git@danielschaefer.me> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=4564 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20231012091057.108728-6-lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'EmbeddedPkg')
-rw-r--r--EmbeddedPkg/Include/Library/RealTimeClockLib.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/EmbeddedPkg/Include/Library/RealTimeClockLib.h b/EmbeddedPkg/Include/Library/RealTimeClockLib.h
index ff45e26d6c..b2ff3f233b 100644
--- a/EmbeddedPkg/Include/Library/RealTimeClockLib.h
+++ b/EmbeddedPkg/Include/Library/RealTimeClockLib.h
@@ -105,19 +105,4 @@ LibRtcInitialize (
IN EFI_SYSTEM_TABLE *SystemTable
);
-/**
- Fixup internal data so that EFI can be call in virtual mode.
- Call the passed in Child Notify event and convert any pointers in
- lib to virtual mode.
-
- @param[in] Event The Event that is being processed
- @param[in] Context Event Context
-**/
-VOID
-EFIAPI
-LibRtcVirtualNotifyEvent (
- IN EFI_EVENT Event,
- IN VOID *Context
- );
-
#endif