diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-11-08 16:43:03 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-11-08 16:43:03 +0000 |
commit | 87a487af4f87b7cd05749bdfb3d30710d51f1079 (patch) | |
tree | b72947d6d60ebe2088977e0c813ca5619e28a365 /sys/arch/mvme88k/include | |
parent | 7149df53582597e8b4c1430f6cadecdb60a73e6b (diff) |
Save the current floatingpoint state in the pcb.
Diffstat (limited to 'sys/arch/mvme88k/include')
-rw-r--r-- | sys/arch/mvme88k/include/pcb.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/sys/arch/mvme88k/include/pcb.h b/sys/arch/mvme88k/include/pcb.h index 6f6395d8d8a..e94954c93b4 100644 --- a/sys/arch/mvme88k/include/pcb.h +++ b/sys/arch/mvme88k/include/pcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcb.h,v 1.10 2003/10/11 22:08:57 miod Exp $ */ +/* $OpenBSD: pcb.h,v 1.11 2003/11/08 16:43:00 miod Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * Mach Operating System @@ -55,26 +55,29 @@ */ struct m88100_pcb { - unsigned pcb_pc; /* address to return */ - unsigned pcb_ipl; - unsigned pcb_r14; - unsigned pcb_r15; - unsigned pcb_r16; - unsigned pcb_r17; - unsigned pcb_r18; - unsigned pcb_r19; - unsigned pcb_r20; - unsigned pcb_r21; - unsigned pcb_r22; - unsigned pcb_r23; - unsigned pcb_r24; - unsigned pcb_r25; - unsigned pcb_r26; - unsigned pcb_r27; - unsigned pcb_r28; - unsigned pcb_r29; - unsigned pcb_r30; - unsigned pcb_sp; /* kernel stack pointer */ + unsigned pcb_pc; /* address to return */ + unsigned pcb_ipl; + unsigned pcb_r14; + unsigned pcb_r15; + unsigned pcb_r16; + unsigned pcb_r17; + unsigned pcb_r18; + unsigned pcb_r19; + unsigned pcb_r20; + unsigned pcb_r21; + unsigned pcb_r22; + unsigned pcb_r23; + unsigned pcb_r24; + unsigned pcb_r25; + unsigned pcb_r26; + unsigned pcb_r27; + unsigned pcb_r28; + unsigned pcb_r29; + unsigned pcb_r30; + unsigned pcb_sp; /* kernel stack pointer */ + /* floating-point state */ + unsigned pcb_fcr62; + unsigned pcb_fcr63; }; #define m88100_saved_state reg @@ -82,14 +85,11 @@ struct m88100_pcb { struct pcb { - struct m88100_pcb kernel_state; - struct m88100_saved_state user_state; - int pcb_onfault; /* for copyin/copyout faults */ - int pcb_pad; /* pad it XXX */ + struct m88100_pcb kernel_state; + struct m88100_saved_state user_state; + int pcb_onfault; }; -typedef struct pcb *pcb_t; /* exported */ - /* * Location of saved user registers for the proc. */ |