remove 'ori.w #0x0700, %sr', must be made by the caller

This commit is contained in:
Laurent Vivier 2005-05-25 06:41:03 +00:00
parent c19a88328c
commit d8928f4462
3 changed files with 1 additions and 8 deletions

View File

@ -26,8 +26,6 @@ enter_kernel030:
move.l 16(%fp), %a2
ori.w #0x0700, %sr
/* disable MMU */
lea -8(%fp), %a1

View File

@ -3,6 +3,7 @@
* (c) 2004 Laurent Vivier <LaurentVivier@wanadoo.fr>
*
*/
.chip 68040
.include "copymem.i"
@ -25,8 +26,6 @@ enter_kernel040:
move.l 16(%fp), %a2
ori.w #0x0700, %sr
/* disable MMU */
moveq.l #0, %d1

View File

@ -41,10 +41,6 @@ enter_kernelPPC:
move.l 8(%fp), %a0
/* disable interrupts */
ori.w #0x0700, %sr
/* get PPC registers values */
move.l 12(%fp), %a1