SC_CAUSE system call should not do the Cause by itself. Instead, the supervisor mode...
commit071607f869dbbbf46cd2047fd0615773de5fec7d
authorschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 24 Jan 2009 19:54:03 +0000 (24 19:54 +0000)
committerschulz <schulz@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 24 Jan 2009 19:54:03 +0000 (24 19:54 +0000)
treeb17cb7083a26bda430dcb3ffd0e8b050e4245ede
parentd3cf062c66e2f49f7f370626a7d54f100a0b5492
SC_CAUSE system call should not do the Cause by itself. Instead, the supervisor mode should be left in different way.

Thanks to this change the Cause works as on real classic amiga. The software interrupt triggered with Cause() will not happen immediatelly, but instead it will be triggered upon switch from supervisor to user mode.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@30353 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/ppc-chrp/efika/kernel/syscall.c