From 7eca23930ba7deee4a78ab51fdeb3ce6345d9807 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Wed, 8 Jul 2020 18:43:00 -0700 Subject: [PATCH] Correct FPtoVP table size error in BIGVM case The table requires 1 cell (32-bit word) per page, for 256 MB in 512 byte pages. modified: src/ldsout.c --- src/ldsout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ldsout.c b/src/ldsout.c index 6e9ec54..e5e21c4 100644 --- a/src/ldsout.c +++ b/src/ldsout.c @@ -91,7 +91,8 @@ int sysout_loader(char * sysout_file_name, int sys_size) char *fptovp_scratch; /* scratch area for FPTOVP */ #ifdef BIGVM - unsigned int fptovp[0x40000]; /* FPTOVP */ + /* 1 "cell" per page for 256MB in 512 byte pages */ + unsigned int fptovp[0x80000]; /* FPTOVP */ #else DLword fptovp[0x10000]; /* FPTOVP */ #endif /* BIGVM */