why the PAGE_OFFSET is not 0xc0000000 on m68k platform

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

 



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


--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux