re-enabled MMU
This commit is contained in:
@@ -111,7 +111,7 @@ void BaS(void)
|
||||
MCF_INTC_IMRL = 0xffffff00; /* int 1-7 on */
|
||||
MCF_INTC_IMRH = 0xbffffffe; /* psc3 and timer 0 int on */
|
||||
|
||||
//MCF_MMU_MMUCR = MCF_MMU_MMUCR_EN; /* MMU on */
|
||||
MCF_MMU_MMUCR = MCF_MMU_MMUCR_EN; /* MMU on */
|
||||
xprintf("finished\r\n");
|
||||
|
||||
xprintf("IDE reset: ");
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#define cf_stack
|
||||
/*
|
||||
* initialize exception vectors
|
||||
*/
|
||||
@@ -133,7 +134,7 @@
|
||||
subq.l #8,a7
|
||||
movem.l d0/a5,(a7) // register sichern
|
||||
lea MCF_EPORT_EPFR,a5
|
||||
move.b #clr_int,(a5) // clear int pending
|
||||
move.b #\clr_int,(a5) // clear int pending
|
||||
// test auf protect mode ---------------------
|
||||
move.b DIP_SWITCHa,d0
|
||||
btst #7,d0
|
||||
@@ -142,7 +143,7 @@
|
||||
movem.l (a7),d0/a5 // register zur<EFBFBD>ck
|
||||
addq.l #8,a7
|
||||
move.l \vector,-(a7)
|
||||
move #0x2200,sr
|
||||
move #0x2\200,sr
|
||||
rts
|
||||
irq_protect:
|
||||
move.l usp,a5 // usp holen
|
||||
@@ -173,7 +174,7 @@ sev_supint:
|
||||
#endif
|
||||
irq_end:
|
||||
move.l a5,usp // usp setzen
|
||||
lea vector,a5
|
||||
lea \vector,a5
|
||||
adda.l _rt_vbr,a5
|
||||
move.l (a5),12(a7) // vectoradresse eintragen
|
||||
move.b #\int_mask,10(a7) // intmaske setzen
|
||||
|
||||
Reference in New Issue
Block a user