Workaround to fix call_user() on A2560U

This commit is contained in:
Jesus Garcia 2021-11-17 18:44:35 -05:00
parent 15b6e76f72
commit 552186f469

View file

@ -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