diff options
author | Marc Jones <marcj303@gmail.com> | 2018-01-15 18:47:24 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-01-17 16:40:26 +0000 |
commit | e6033ce1798f67ad282553f8ee3afcb2b74c8398 (patch) | |
tree | d49fcb3af7b8c19c492cab10e778835026ec7505 /src/mainboard/google/poppy/variants | |
parent | 2bd6939dc5d2542e28734fa92aad6382535b8604 (diff) |
soc/amd/common/block/pi: Fix AGESA heap deallocator
The deallocation was always subtracting the header, even when it
shouldn't. This caused problems for the allocator where buffer
sizes were incorrect and freed and used buffers could collide.
Fix the deallocation size.
Clear deallocated concatinated buffer header memory.
Fix the initial calculation of the total buffer size
available to be allocated.
BUG=b:71764350
TEST= Boot grunt.
BRANCH=none
Change-Id: I2789ddf72d662f24709dc5d9873741169cc4ef36
Signed-off-by: Marc Jones <marcj303@gmail.com>
Reviewed-on: https://review.coreboot.org/23284
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/poppy/variants')
0 files changed, 0 insertions, 0 deletions