[OpenBIOS] [PATCH 4/9] SPARC64: increase Forth machine memory to 192K

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Sun Oct 23 16:22:39 CEST 2016


Otherwise when trying to boot Milax with a debugger we run out of
memory.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
 arch/sparc64/ofmem_sparc64.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sparc64/ofmem_sparc64.c b/arch/sparc64/ofmem_sparc64.c
index 5c742cd..1711c7e 100644
--- a/arch/sparc64/ofmem_sparc64.c
+++ b/arch/sparc64/ofmem_sparc64.c
@@ -20,7 +20,7 @@
 
 #define OF_MALLOC_BASE		((char*)OFMEM + ALIGN_SIZE(sizeof(ofmem_t), 8))
 
-#define MEMSIZE (128 * 1024)
+#define MEMSIZE (192 * 1024)
 static union {
 	char memory[MEMSIZE];
 	ofmem_t ofmem;
-- 
1.7.10.4




More information about the OpenBIOS mailing list