1
linux/arch/mips
Franck Bui-Huu 6f284a2ce7 [MIPS] FLATMEM: introduce PHYS_OFFSET.
The old code was assuming that min_low_pfn was always 0. This
means that platforms having a big hole at their memory start
paid the price of wasting some memory for the allocation of
unused entries in mem_map[].

This patch prevents this waste.

It introduces PHYS_OFFSET define which is the start of the
physical memory and uses it wherever needed. Specially when
converting physical/virtual addresses into virtual/physical
ones.

Currently all platforms defines PHYS_OFFSET to 0.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-02-06 16:53:13 +00:00
..
arc [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
au1000 [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
basler/excite [MIPS] Define MIPS_CPU_IRQ_BASE in generic header 2007-02-06 16:53:08 +00:00
boot Add .gitignore files for MIPS. 2005-11-07 18:05:37 +00:00
cobalt [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
configs [MIPS] Malta: Resurrect MTD support for onboard flash. 2006-12-12 01:46:24 +00:00
ddb5xxx [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
dec [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
emma2rh [MIPS] Define MIPS_CPU_IRQ_BASE in generic header 2007-02-06 16:53:08 +00:00
gt64120 [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
jazz [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
jmr3927 [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
kernel [MIPS] FLATMEM: introduce PHYS_OFFSET. 2007-02-06 16:53:13 +00:00
lasat [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
lib [MIPS] Unify memset.S 2007-02-06 16:53:12 +00:00
lib-32 [MIPS] Unify memset.S 2007-02-06 16:53:12 +00:00
lib-64 [MIPS] Unify memset.S 2007-02-06 16:53:12 +00:00
math-emu [MIPS] Make sure cpu_has_fpu is used only in atomic context 2006-10-09 23:20:48 +01:00
mips-boards [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
mm [MIPS] Setup min_low_pfn/max_low_pfn correctly 2007-02-06 16:53:13 +00:00
momentum [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
oprofile [MIPS] Oprofile: kernel support for the R10000. 2006-11-30 01:14:45 +00:00
pci [MIPS] Make I8259A_IRQ_BASE customizable 2007-02-06 16:53:09 +00:00
philips/pnx8550 [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
pmc-sierra [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
qemu [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
sgi-ip22 [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
sgi-ip27 [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
sgi-ip32 [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
sibyte [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
sni [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
tx4927 [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
tx4938 [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
vr41xx [MIPS] prom_free_prom_memory cleanup 2007-02-06 16:53:09 +00:00
defconfig [MIPS] Rename SNI_RM200_PCI to just SNI_RM preparing for more RM machines 2006-12-09 01:03:58 +00:00
Kconfig [MIPS] SMTC: Instant IPI replay. 2007-01-23 18:26:47 +00:00
Kconfig.debug [MIPS] TRACE_IRQFLAGS_SUPPORT support. 2006-07-13 21:26:09 +01:00
Makefile [MIPS] There is no __GNUC_MAJOR__ 2007-01-24 19:23:21 +00:00