diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-07-06 22:09:02 +0000 |
---|---|---|
committer | abiesheuvel <abiesheuvel@Edk2> | 2015-07-06 22:09:02 +0000 |
commit | f7b0d3f2b5c61035ce7c23d4aef14083c3b1634d (patch) | |
tree | 3a4aaa85c56d24e4c10510702a3c69df1fff1f36 /ArmVirtPkg/PrePi/PrePi.h | |
parent | 13a68bbaa7bf13710357945a5194b21579f3d875 (diff) | |
download | edk2-f7b0d3f2b5c61035ce7c23d4aef14083c3b1634d.tar.gz edk2-f7b0d3f2b5c61035ce7c23d4aef14083c3b1634d.tar.bz2 edk2-f7b0d3f2b5c61035ce7c23d4aef14083c3b1634d.zip |
ArmVirtPkg: adapt ArmVirtXen build to system memory end global variable
This fixes the ArmVirtXen build that was broken by r17835, which adds
a global variable mSystemMemoryEnd which is shared between a module
and a library it depends on.
Add the same global variable to the relocatable PrePi used by ArmVirtXen.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17837 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmVirtPkg/PrePi/PrePi.h')
-rw-r--r-- | ArmVirtPkg/PrePi/PrePi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ArmVirtPkg/PrePi/PrePi.h b/ArmVirtPkg/PrePi/PrePi.h index 517429fab9..15b91e49c9 100644 --- a/ArmVirtPkg/PrePi/PrePi.h +++ b/ArmVirtPkg/PrePi/PrePi.h @@ -29,6 +29,8 @@ #define SerialPrint(txt) SerialPortWrite (txt, AsciiStrLen(txt)+1);
+extern UINT64 mSystemMemoryEnd;
+
RETURN_STATUS
EFIAPI
TimerConstructor (
|