[coreboot-gerrit] New patch to review for coreboot: AGESA: Log when and where empty heap is initialized

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Thu Mar 2 08:51:30 CET 2017


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18535

-gerrit

commit 1f94d0b0dd7dda4465211a8b2a470d6c2c7d30bc
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Sun Nov 27 06:37:52 2016 +0200

    AGESA: Log when and where empty heap is initialized
    
    Change-Id: I422f2620ed0023f3920b8d2949ee1c33a6c227e0
    Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
 src/cpu/amd/agesa/heapmanager.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/cpu/amd/agesa/heapmanager.c b/src/cpu/amd/agesa/heapmanager.c
index 087959d..0665191 100644
--- a/src/cpu/amd/agesa/heapmanager.c
+++ b/src/cpu/amd/agesa/heapmanager.c
@@ -57,6 +57,9 @@ void EmptyHeap(void)
 {
 	void *base = GetHeapBase();
 	memset(base, 0, BIOS_HEAP_SIZE);
+
+	printk(BIOS_DEBUG, "Wiped HEAP at [%08x - %08x]\n",
+		(uint32_t)(uintptr_t) base, (uint32_t)(uintptr_t) base + BIOS_HEAP_SIZE - 1);
 }
 
 void ResumeHeap(void **heap, size_t *len)



More information about the coreboot-gerrit mailing list