[Top] [All Lists]

changing the PAGE_OFFSET variable

To: "''" <>
Subject: changing the PAGE_OFFSET variable
From: Manoj Ekbote <>
Date: Mon, 21 Jan 2002 18:00:06 -0800

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?


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