OpenCloudOS-Kernel/arch/m68k/platform
Greg Ungerer bbc6f1ba50 m68k: set register a2 to current if MMU enabled on ColdFire
Virtual memory m68k systems build with register a2 dedicated to being the
current proc pointer (non-MMU don't do this). Add code to the ColdFire
interrupt and exception processing to set this on entry, and at context
switch time. We use the same GET_CURRENT() macro that MMU enabled code
uses - modifying it so that the assembler is ColdFire clean.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Matt Waddel <mwaddel@yahoo.com>
Acked-by: Kurt Mahan <kmahan@xmission.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
2011-12-30 10:20:24 +10:00
..
54xx m68k: add ColdFire 54xx CPU MMU memory init code 2011-12-30 10:20:23 +10:00
68EZ328 m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
68VZ328 m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
520x m68knommu: fix problems with SPI/GPIO on ColdFire 520x 2011-10-18 14:22:25 +10:00
523x Fix common misspellings 2011-03-31 11:26:23 -03:00
527x Fix common misspellings 2011-03-31 11:26:23 -03:00
528x Fix common misspellings 2011-03-31 11:26:23 -03:00
532x m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
5206 m68knommu: merge ColdFire 5206 and 5206e platform code 2011-07-25 11:20:41 +10:00
5249 m68k: Convert irq function namespace 2011-03-29 14:48:15 +02:00
5272 m68knommu: correctly use trap_init 2011-07-25 11:20:41 +10:00
5307 m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
5407 m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
68328 m68knommu: remove no longer used rom_length from Palm/Pilot start up code 2011-12-30 10:20:15 +10:00
68360 m68k: merge mmu and non-mmu include/asm/entry.h files 2011-10-18 14:22:25 +10:00
coldfire m68k: set register a2 to current if MMU enabled on ColdFire 2011-12-30 10:20:24 +10:00
Makefile m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00