public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* why the PAGE_OFFSET is not 0xc0000000 on m68k platform
@ 2009-05-21  4:17 Lanttor
  2009-05-21 11:29 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Lanttor @ 2009-05-21  4:17 UTC (permalink / raw)
  To: linux-m68k

Hi,

I see the definition of PAGE_OFFSET on m68k platform like that:

#define PAGE_OFFSET (PAGE_OFFSET_RAW)

#ifdef CONFIG_MMU
#ifndef CONFIG_SUN3
#define PAGE_OFFSET_RAW         0x00000000
#else
#define PAGE_OFFSET_RAW         0x0E000000
#endif
#else
#define PAGE_OFFSET_RAW         CONFIG_RAMBASE
#endif

In my understanding, the kernel page mapping depends on PAGE_OFFSET.
For example, if PAGE_OFFSET is 0x00000000 (assuming 256M memory), the
kernel virtual address will be at (0x00000000 - 0x10000000), right?

Could this incur some side effect? I see the definition of PAGE_OFFSET
is 0xc0000000 on much platforms.

Thanks,

-- 
Best Regards,
Lanttor



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-21 11:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-21  4:17 why the PAGE_OFFSET is not 0xc0000000 on m68k platform Lanttor
2009-05-21 11:29 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox