aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-07-31 19:37:03 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-07-31 19:37:03 +0000
commit7e71ff5ea7946c2de55619f3fabfe25978012353 (patch)
treee169afa5b97e9fd6aa879eeb5b639e4464c6ad6a /sys/alpha/include
parentc488362e1a68c12db2b84696bf565ae3be421a36 (diff)
Notes
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/proc.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/sys/alpha/include/proc.h b/sys/alpha/include/proc.h
index b0689f9fdaf4..e21f433498d5 100644
--- a/sys/alpha/include/proc.h
+++ b/sys/alpha/include/proc.h
@@ -40,6 +40,11 @@ struct mdbpt {
u_int32_t contents;
};
+#define MDTD_FPUSED 0x0001 /* Process used the FPU */
+#define MDTD_STEP1 0x0002 /* Single step normal instruction */
+#define MDTD_STEP2 0x0004 /* Single step branch instruction */
+#define MDTD_HAEUSED 0x0008 /* Process used the HAE */
+
struct mdthread {
u_long md_flags;
struct pcb *md_pcbpaddr; /* phys addr of the pcb */
@@ -50,17 +55,14 @@ struct mdthread {
register_t md_savecrit; /* save PSL for critical section */
};
-#define MDP_FPUSED 0x0001 /* Process used the FPU */
-#define MDP_STEP1 0x0002 /* Single step normal instruction */
-#define MDP_STEP2 0x0004 /* Single step branch instruction */
-#define MDP_HAEUSED 0x0008 /* Process used the HAE */
-#define MDP_UAC_NOPRINT 0x0010 /* Don't print unaligned traps */
-#define MDP_UAC_NOFIX 0x0020 /* Don't fixup unaligned traps */
-#define MDP_UAC_SIGBUS 0x0040 /* Deliver SIGBUS upon
+#define MDP_UAC_NOPRINT 0x0010 /* Don't print unaligned traps */
+#define MDP_UAC_NOFIX 0x0020 /* Don't fixup unaligned traps */
+#define MDP_UAC_SIGBUS 0x0040 /* Deliver SIGBUS upon
unaligned access */
-#define MDP_UAC_MASK (MDP_UAC_NOPRINT | MDP_UAC_NOFIX | MDP_UAC_SIGBUS)
+#define MDP_UAC_MASK (MDP_UAC_NOPRINT | MDP_UAC_NOFIX | MDP_UAC_SIGBUS)
struct mdproc {
+ u_int md_uac; /* Unaligned Access Check flags. */
};
#endif /* !_MACHINE_PROC_H_ */