This commit is contained in:
@@ -25,7 +25,7 @@ void startup(void)
|
|||||||
/* clobber */ : "d0", "memory");
|
/* clobber */ : "d0", "memory");
|
||||||
|
|
||||||
/* mmu off */
|
/* mmu off */
|
||||||
__asm__ __volatile__ (
|
__asm__ __volatile__(
|
||||||
" move.l #__MMUBAR+1,d0\n\t"
|
" move.l #__MMUBAR+1,d0\n\t"
|
||||||
" movec d0,MMUBAR\n\t"
|
" movec d0,MMUBAR\n\t"
|
||||||
/* output */ :
|
/* output */ :
|
||||||
|
|||||||
@@ -11,12 +11,12 @@
|
|||||||
.extern ___MMUBAR
|
.extern ___MMUBAR
|
||||||
|
|
||||||
/* Register read/write macros */
|
/* Register read/write macros */
|
||||||
#define MCF_MMU_MMUCR __MMUBAR
|
#define MCF_MMU_MMUCR __MMUBAR
|
||||||
#define MCF_MMU_MMUOR __MMUBAR+0x04
|
#define MCF_MMU_MMUOR __MMUBAR+0x04
|
||||||
#define MCF_MMU_MMUSR __MMUBAR+0x08
|
#define MCF_MMU_MMUSR __MMUBAR+0x08
|
||||||
#define MCF_MMU_MMUAR __MMUBAR+0x10
|
#define MCF_MMU_MMUAR __MMUBAR+0x10
|
||||||
#define MCF_MMU_MMUTR __MMUBAR+0x14
|
#define MCF_MMU_MMUTR __MMUBAR+0x14
|
||||||
#define MCF_MMU_MMUDR __MMUBAR+0x18
|
#define MCF_MMU_MMUDR __MMUBAR+0x18
|
||||||
|
|
||||||
.global _privileg_violation
|
.global _privileg_violation
|
||||||
.global cpusha
|
.global cpusha
|
||||||
|
|||||||
Reference in New Issue
Block a user