Merge pull request #9 from daschewie/UserModeLoaderWorkaround

Workaround to fix call_user() on A2560U
This commit is contained in:
pweingar 2021-11-17 21:11:36 -05:00 committed by GitHub
commit 9ce43bcb4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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