diff options
author | jake <jake@FreeBSD.org> | 2001-12-29 06:53:19 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-12-29 06:53:19 +0000 |
commit | fc3b645fd1fa12728fc7a29e979fa210468d57fc (patch) | |
tree | 8ab124bb84db6c6d2bc218fcf87fa8aec685603c | |
parent | 7404706e58472863fcb4041dfae8a8e6f4acbfef (diff) | |
download | FreeBSD-src-fc3b645fd1fa12728fc7a29e979fa210468d57fc.zip FreeBSD-src-fc3b645fd1fa12728fc7a29e979fa210468d57fc.tar.gz |
Change fpblock to be an array of ints instead longs.
Change fp_init_thread to take a thread instead of a pcb so we
can get at the trapframe.
-rw-r--r-- | sys/sparc64/include/fp.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/sparc64/include/fp.h b/sys/sparc64/include/fp.h index ebb801f..bdadacc 100644 --- a/sys/sparc64/include/fp.h +++ b/sys/sparc64/include/fp.h @@ -29,13 +29,11 @@ /* A block of 8 double-precision (16 single-precision) FP registers. */ struct fpblock { - u_long fpq_l[8]; + u_int fpb_i[16]; }; struct fpstate { struct fpblock fp_fb[4]; - u_long fp_fsr; - u_long fp_fprs; }; #ifdef _KERNEL @@ -43,9 +41,9 @@ struct fpstate { struct pcb; struct thread; -void fp_init_thread(struct pcb *); +void fp_init_thread(struct thread *); int fp_enable_thread(struct thread *, struct trapframe *); -int fp_exception_other(struct thread *, struct trapframe *); +int fp_exception(struct thread *, struct trapframe *, int *); /* * Note: The pointers passed to the next two functions must be aligned on * 64 byte boundaries. |