coreboot-kgpe-d16/payloads/libpayload/arch
Julius Werner 1143d08f7e libpayload: head.S: Avoid clearing BSS (and heap) again
3 out of 4 architectures currently zero out the payload BSS in early
assembly code, which is pointless since the code loading the payload has
already done that (with a more efficient memset). ARM64 has never had
any code like this and can run just fine without it. This also defeats
the new optimization of moving the heap out of the BSS, since all three
implementations assume that everything between _edata and _end is BSS.
We should just take this out.

Change-Id: I45cd2dabd94da43ff0f77e990f11c877cee6cda1
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/16091
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2016-08-13 02:46:19 +02:00
..
arm libpayload: head.S: Avoid clearing BSS (and heap) again 2016-08-13 02:46:19 +02:00
arm64 libpayload: arm64: Fix MMU range overlap check 2016-08-08 17:35:31 +02:00
mips libpayload: head.S: Avoid clearing BSS (and heap) again 2016-08-13 02:46:19 +02:00
x86 libpayload: head.S: Avoid clearing BSS (and heap) again 2016-08-13 02:46:19 +02:00