diff options
author | marcel <marcel@FreeBSD.org> | 2003-11-09 23:13:23 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-11-09 23:13:23 +0000 |
commit | e8baed96b533f9a8889ecc63bb3ece5c3df1eff3 (patch) | |
tree | 1697f100a90390e7a871d01884d9489eaebdf575 /sys | |
parent | 1a57fb58c674cc1a23b0b4185fe65578926bd5a3 (diff) | |
download | FreeBSD-src-e8baed96b533f9a8889ecc63bb3ece5c3df1eff3.zip FreeBSD-src-e8baed96b533f9a8889ecc63bb3ece5c3df1eff3.tar.gz |
When a thread is being swapped-out, save the high FP registers. We
have a pointer in the PCPU to the PCB of the thread that currently
has its high FP registers loaded.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ia64/ia64/vm_machdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ia64/ia64/vm_machdep.c b/sys/ia64/ia64/vm_machdep.c index 15736f1..201922b 100644 --- a/sys/ia64/ia64/vm_machdep.c +++ b/sys/ia64/ia64/vm_machdep.c @@ -145,6 +145,8 @@ cpu_thread_swapin(struct thread *td) void cpu_thread_swapout(struct thread *td) { + + ia64_highfp_save(td); } void |