linux/arch/m68k/atari
Michael Schmitz fded332bf4 m68k/atari - stram: alloc ST-RAM pool even if kernel not in ST-RAM
With the kernel loaded to FastRAM (TT-RAM), none of the ST-RAM
address range is mapped by init_mem, and ST-RAM is not accessible
through the normal allocation pathways as a result.

Implement ST-RAM pool allocation to be based on physical addresses
always (it already was when the kernel was loaded in ST-RAM).
Return kernel virtual addresses as per normal.

The current test for the kernel residing in ST-RAM always returns
true. Use the bootinfo memory chunk order instead - with the kernel
in FastRAM, ST-RAM (phys. 0x0) is not the first chunk.

In case the kernel is running from FastRAM, delay mapping of ST-RAM
pool until after mem_init.

Provide helper functions for those users of ST-RAM that need
to be aware of the backing physical addresses.

Kudos to Geert for his hints on getting this started.

Signed-off-by: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2014-05-26 22:41:24 +02:00
..
ataints.c m68k: atari: Fix the last kernel_stat.h fallout 2014-03-20 12:40:30 +01:00
atakeyb.c input/atari: Use the correct mouse interrupt hook 2011-05-19 18:19:11 +02:00
atasound.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
config.c m68k/UAPI: Use proper types (endianness/size) in <asm/bootinfo*.h> 2013-11-26 11:09:21 +01:00
debug.c m68k/amiga,atari: Fix specifying multiple debug= parameters 2013-12-08 11:03:21 +01:00
Makefile m68k: Remove the broken Hades support 2008-10-14 10:23:27 -07:00
stdma.c m68k/atari: Do not use "/" in interrupt names 2011-05-19 18:19:10 +02:00
stram.c m68k/atari - stram: alloc ST-RAM pool even if kernel not in ST-RAM 2014-05-26 22:41:24 +02:00
time.c m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00