Using more than 16M RAM

modified: Fri Jun 5 1998

Date: Fri, 5 Jun 1998 17:26:56 +0200
From: Kees J Bot 
Subject: Re: Memory limit for Minix i386

In article <6l6uss$>,
Eric Nadeau <df852@FreeNet.Carleton.CA> wrote:
>Is there anything special to do to have over 16 megs of RAM
>available to Minix? I can't have more... Is it even possible?

In kernel/misc.c, replace 'USHRT_MAX' by '(phys_clicks) -1' so that the
line in question ends up to look like this:

        max_clicks = (phys_clicks) -1 - (EM_BASE >> CLICK_SHIFT);

I don't know what got into me when I wrote the original code, it's
obviously wrong.
Kees J. Bot, Systems Programmer, Dept. Math&CS, Vrije Universiteit Amsterdam

Return to the Minix hints page .

Return to Al Woodhull's MINIX home page at Hampshire College, Amherst, MA, USA.