Mercurial > sos > sos
diff arch/svcint.S @ 95:cabcdc3727e3
arch: implemented swapcontext & fixed few minor issues
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Thu, 12 May 2011 15:56:46 -0400 |
parents | 5f3618fbf9ae |
children |
line wrap: on
line diff
--- a/arch/svcint.S Thu May 12 13:27:53 2011 -0400 +++ b/arch/svcint.S Thu May 12 15:56:46 2011 -0400 @@ -20,7 +20,8 @@ lg %r14,0(%r14) basr %r14,%r14 - stmg %r2,%r3,_PSA_GPRS+16 # store the return value + sr %r1,%r1 + sr %r3,%r3 + sigp %r1,%r3,0x05 - lmg %r0,%r15,_PSA_GPRS - lpswe _PSA_OLD_SVC_PSW + .byte 0x00, 0x00, 0x00, 0x00