disable interrupts here

This commit is contained in:
Laurent Vivier 2005-05-13 22:02:12 +00:00
parent 97b1de3ca3
commit a3d2b674e2

View File

@ -35,12 +35,16 @@
.global enter_kernelPPC
enter_kernelPPC:
link.w %fp,#-8
link.w %fp,#0
/* get physical start address of kernel */
move.l 8(%fp), %a0
/* disable interrupts */
ori.w #0x0700, %sr
/* get PPC registers values */
move.l 12(%fp), %a1
@ -79,8 +83,10 @@ loop:
moveq #0, %d2
reset
move.l %sp,-(%sp)
move.l %sp,-(%sp)
wait:
dc.w 0xFE03
beq wait
unlk %fp
rts