From cefee548387ecc59af706d0503b3aa543d64f4cf Mon Sep 17 00:00:00 2001 From: Kurt Lidl Date: Wed, 22 Aug 2018 14:33:57 +0000 Subject: [PATCH] Increase the size of the heap size available on sparc64 during operation of "loader". The dramatic increase in size of SPA_MAXBLOCKSIZE in r304321 causes the heap space to be exhausted, so malloc() fails, ultimately leading to a memcpy() with a destination of 0x0. MFC after: 3 days --- stand/sparc64/loader/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/sparc64/loader/main.c b/stand/sparc64/loader/main.c index ff348fe27eb..c7e880caefe 100644 --- a/stand/sparc64/loader/main.c +++ b/stand/sparc64/loader/main.c @@ -77,7 +77,7 @@ __FBSDID("$FreeBSD$"); enum { HEAPVA = 0x800000, - HEAPSZ = 0x1000000, + HEAPSZ = 0x3000000, LOADSZ = 0x1000000 /* for kernel and modules */ };