Re: Dealing with RAM not starting at 0x00000000
From: Ralf Baechle <hidden>
Date: 2005-02-03 12:30:04
From: Ralf Baechle <hidden>
Date: 2005-02-03 12:30:04
On Tue, Feb 01, 2005 at 03:06:29PM +0530, Nori, Soma Sekhar wrote:
I am working towards porting 2.6.10 kernel on a mips 4kec based board which has physical memory starting at 0x14000000. What is the best way to overcome the "hole" from 0x00000000 to 0x14000000 without incuring a huge memory overhead. (For exception handling there is 4k of RAM kept at 0x00000000 also - but I guess linux paging need need not be aware of this small RAM)
You can set PAGE_OFFSET to 0x94000000. If you do this you're probably going to run into a few bugs where PAGE_OFFSET is assumed to be KSEG0, that is 0x80000000. Nothing dramatic though. Ralf