diff options
author | Leif Lindholm <quic_llindhol@quicinc.com> | 2024-09-26 13:48:14 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-27 12:42:07 +0000 |
commit | dab548a51b4ddde35b235c72d08c57e1912c7827 (patch) | |
tree | 0ca6806b267c955f673c7fb80a958e9d7664b607 /ArmVirtPkg | |
parent | fe93b3745f13d7eb891d9666debf2689a8975e5b (diff) | |
download | edk2-dab548a51b4ddde35b235c72d08c57e1912c7827.tar.gz edk2-dab548a51b4ddde35b235c72d08c57e1912c7827.tar.bz2 edk2-dab548a51b4ddde35b235c72d08c57e1912c7827.zip |
ArmVirtPkg: add QemuVirtMemInfoLib missing dependency/includes
QemuVirtMemInfoLib makes use of BaseLib but never declared the
dependency or included the header. The code still built by
luck and by including the EmbeddedPkg FdtLib. Which is going
away, so add the missing stanzas in preparation.
Signed-off-by: Leif Lindholm <quic_llindhol@quicinc.com>
Diffstat (limited to 'ArmVirtPkg')
-rw-r--r-- | ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLib.inf | 1 | ||||
-rw-r--r-- | ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLibConstructor.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLib.inf b/ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLib.inf index da957cfaff..091e37c90b 100644 --- a/ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLib.inf +++ b/ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLib.inf @@ -30,6 +30,7 @@ [LibraryClasses]
ArmLib
+ BaseLib
BaseMemoryLib
DebugLib
FdtLib
diff --git a/ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLibConstructor.c b/ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLibConstructor.c index 1bcc2e26aa..f39df852d8 100644 --- a/ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLibConstructor.c +++ b/ArmVirtPkg/Library/QemuVirtMemInfoLib/QemuVirtMemInfoPeiLibConstructor.c @@ -8,6 +8,7 @@ #include <Uefi.h>
#include <Pi/PiMultiPhase.h>
+#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <libfdt.h>
|