Re: Accessing > 256MB RAM on O2

David Brownlee <[email protected]> Tue, 10 Mar 2009 10:06:20 +0000 (GMT)
Newsgroups gmane.os.netbsd.ports.sgimips
Message-ID <alpine.NEB.2.00.0903101000190.1500@localhost>
On Tue, 10 Mar 2009, Masao Uebayashi wrote:

>>   http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/grandlarceny.patch
>>
>> Once booted, create /dev/crime and configure swap:
>>
>>   $ sudo mknod /dev/crime b 15 2
>>   $ sudo chmod 640 /dev/crime
>>   $ sudo swapctl -a /dev/crime
>>
>> This gives me access to the additional 192MB of RAM on my 448MB O2.
>
> The patch looks reasonable to me.  I think this is worth commiting if it's
> marked as a hack and it can be changed easily when better solution is available.
>
> BTW, OpenBSD has himem(4) driver which does similar thing.

 	Is there any sense in providing a slightly more MI interface for
 	this? I'm thinking about some of the other ports which have
 	some fast RAM and some much slower like atari and amiga, and
 	maybe even x86 boxes used as servers which sometimes end up
 	with large RAM (512M) video cards... :)

 	Either way, very cool :)

-- 
 		David/absolute       -- www.NetBSD.org: No hype required --