linux-mips
[Top] [All Lists]

changing the PAGE_OFFSET variable

To: "'linux-mips@oss.sgi.com'" <linux-mips@oss.sgi.com>
Subject: changing the PAGE_OFFSET variable
From: Manoj Ekbote <Manoj_Ekbote@pmc-sierra.com>
Date: Mon, 21 Jan 2002 18:00:06 -0800
Sender: owner-linux-mips@oss.sgi.com
Hi,

I am trying to load a kernel on a board whose SDRAM is mapped to 0x8000000.So, 
the LOADADDR reads 0xa8000000.
In order to generate the correct virtual and physical addresses (for __pa and 
__va macros), I would have to change the PAGE_OFFSET to 0xa0000000.I guess I 
would also have to change some routines in include/asm/io.h that translate the 
virtual addresses to physical addresses and vice versa.
I am not having any PCI access.

Do I need to make any other changes?

Thanks,
Manoj


<Prev in Thread] Current Thread [Next in Thread>
  • changing the PAGE_OFFSET variable, Manoj Ekbote <=