diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-10-24 09:22:22 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-10-24 15:57:25 +0100 |
commit | 5b005a6b322feea8be7303ad50a09cecfecdbaba (patch) | |
tree | 509ae0af4503feb726b27abc65b5d08903b81501 /ArmVirtPkg/PrePi/PrePi.h | |
parent | c112e371ce0aa40204fc9a1674cd2e0df0d743c8 (diff) | |
download | edk2-5b005a6b322feea8be7303ad50a09cecfecdbaba.tar.gz edk2-5b005a6b322feea8be7303ad50a09cecfecdbaba.tar.bz2 edk2-5b005a6b322feea8be7303ad50a09cecfecdbaba.zip |
ArmVirtPkg/PrePi: remove mSystemMemoryEnd
Recording the top of SEC visible system memory in a global variable is
not necessary, and violates the constraints of the SEC/PEI environment,
given that it may execute from NOR flash. So remove it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'ArmVirtPkg/PrePi/PrePi.h')
-rw-r--r-- | ArmVirtPkg/PrePi/PrePi.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ArmVirtPkg/PrePi/PrePi.h b/ArmVirtPkg/PrePi/PrePi.h index 9b828377ad..d3189c0b8a 100644 --- a/ArmVirtPkg/PrePi/PrePi.h +++ b/ArmVirtPkg/PrePi/PrePi.h @@ -29,8 +29,6 @@ #define SerialPrint(txt) SerialPortWrite (txt, AsciiStrLen(txt)+1);
-extern UINT64 mSystemMemoryEnd;
-
RETURN_STATUS
EFIAPI
TimerConstructor (
|