summaryrefslogtreecommitdiff
path: root/rc/bin/webpaste
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-03-30 00:26:33 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-03-30 00:26:33 +0200
commite9e45e17eb015267aa9db69deecf26d07fa12011 (patch)
treed61ae4026b2809766abb649ec7bea128a7586e07 /rc/bin/webpaste
parent166afefab99ee1b83efd2b02cefae52f6584fd0c (diff)
downloadplan9front-e9e45e17eb015267aa9db69deecf26d07fa12011.tar.xz
sgi: preserve R27 in setregisters(), use setregisters() in noted()
GEVector() saves the exception return PC in Ureg.r27 which needs to be preserved. there should be no reason for the user to change the status register from noted() eigther, so we now just use setregisters() in noted() to restore previous general purpose registers. this means that CU1 will always be off after noted() because notify() has disabled the FPU on entry and set fpstatus to FPinactive if it was on. once user starts using FPU again, it will trap and restore fpu registers.
Diffstat (limited to 'rc/bin/webpaste')
0 files changed, 0 insertions, 0 deletions