changing the PAGE_OFFSET variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux