Unfortunatelly, the sparc64's FPRS register is writable by non-privileged software
commitda02e6904415c1e00c96a488e305afe2512b066f
authorJakub Jermar <jakub@jermar.eu>
Wed, 13 Sep 2006 14:23:22 +0000 (13 14:23 +0000)
committerJakub Jermar <jakub@jermar.eu>
Wed, 13 Sep 2006 14:23:22 +0000 (13 14:23 +0000)
tree0b077717e7969f972bc4c60ec9c8e97f5388d191
parent34d9469e3b197174b8bbc9c194e03a69d4ef5c36
Unfortunatelly, the sparc64's FPRS register is writable by non-privileged software
so we cannot save only half of the FPU context depending on FPRS dirty bits.
Instead, we must save the entire FPU register file.
kernel/arch/sparc64/src/fpu_context.c