Merge pull request #9 from daschewie/UserModeLoaderWorkaround
Workaround to fix call_user() on A2560U
This commit is contained in:
commit
9ce43bcb4c
|
@ -380,7 +380,7 @@ _call_user:
|
|||
move.l (8,a7),a1 ; Get the pointer to the process's stack
|
||||
move.l (12,a7),d0 ; Get the number of parameters passed
|
||||
move.l (16,a7),a2 ; Get the pointer to the parameters
|
||||
andi #$dfff,sr ; Drop into user mode
|
||||
; andi #$dfff,sr ; Drop into user mode
|
||||
movea.l a1,a7 ; Set the stack
|
||||
|
||||
move.l a2,-(a7) ; Push the parameters list
|
||||
|
|
Loading…
Reference in a new issue