This commit is contained in:
Markus Fröschle
2012-10-15 11:38:20 +00:00
parent 3db8bdf7c5
commit eeafef3026
2 changed files with 7 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ void startup(void)
/* clobber */ : "d0", "memory");
/* mmu off */
__asm__ __volatile__ (
__asm__ __volatile__(
" move.l #__MMUBAR+1,d0\n\t"
" movec d0,MMUBAR\n\t"
/* output */ :

View File

@@ -11,12 +11,12 @@
.extern ___MMUBAR
/* Register read/write macros */
#define MCF_MMU_MMUCR __MMUBAR
#define MCF_MMU_MMUOR __MMUBAR+0x04
#define MCF_MMU_MMUSR __MMUBAR+0x08
#define MCF_MMU_MMUAR __MMUBAR+0x10
#define MCF_MMU_MMUTR __MMUBAR+0x14
#define MCF_MMU_MMUDR __MMUBAR+0x18
#define MCF_MMU_MMUCR __MMUBAR
#define MCF_MMU_MMUOR __MMUBAR+0x04
#define MCF_MMU_MMUSR __MMUBAR+0x08
#define MCF_MMU_MMUAR __MMUBAR+0x10
#define MCF_MMU_MMUTR __MMUBAR+0x14
#define MCF_MMU_MMUDR __MMUBAR+0x18
.global _privileg_violation
.global cpusha