From d8b85a9fabb0e3dbe2c751b7e5fadee6003003e5 Mon Sep 17 00:00:00 2001 From: Lephe Date: Tue, 18 Jan 2022 13:49:23 +0100 Subject: [PATCH] hardware: specify gint[HWRAM] = 8 MiB on the CG-50 --- src/kernel/hardware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/hardware.c b/src/kernel/hardware.c index 52b1da9..732cd93 100644 --- a/src/kernel/hardware.c +++ b/src/kernel/hardware.c @@ -138,7 +138,7 @@ void hw_detect(void) gint[HWCALC] = HWCALC_FXCG_MANAGER; /* Basic memory information */ - gint[HWRAM] = (2 << 20); + gint[HWRAM] = (gint[HWCALC] == HWCALC_PRIZM) ? (2 << 20) : (8 << 20); gint[HWROM] = (32 << 20); /* Mapped memory */