From 7c687dfb0b6ccb4a323855d05d517c9e3e7a9894 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 16 Jan 2019 14:47:22 +0000 Subject: [PATCH] bank16: we should use mapbase not progbase Fixes I hope the COCO breakage --- Kernel/bank16k.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/bank16k.c b/Kernel/bank16k.c index 54b8da06..096986dc 100644 --- a/Kernel/bank16k.c +++ b/Kernel/bank16k.c @@ -122,7 +122,7 @@ int pagemap_alloc( ptptr p ){ int pagemap_realloc(usize_t code, usize_t size, usize_t stack) { int8_t have = maps_needed(udata.u_top); - int8_t want = maps_needed(size + PROGBASE); + int8_t want = maps_needed(size + MAPBASE); uint8_t *ptr = (uint8_t *) & udata.u_page; int8_t i; uint8_t update = 0; -- 2.34.1