summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2009-03-26 17:04:08 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2009-03-26 17:04:08 +0000
commitd01d028ad984dc7b1abe4111f68762f64ff74f67 (patch)
tree58134b9292dbe3b62b73d19183f4d6483d132880
parent7314f96f1e611b430d61b288aacff7a3977c7058 (diff)
Notes
-rw-r--r--sys/pc98/pc98/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 5b248a2795f9..4ba623f835dd 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -1155,7 +1155,7 @@ cpu_idle(void)
void (*cpu_idle_hook)(void) = cpu_idle_default;
/*
- * Clear registers on exec
+ * Reset registers to default values on exec.
*/
void
exec_setregs(td, entry, stack, ps_strings)
@@ -1220,6 +1220,7 @@ exec_setregs(td, entry, stack, ps_strings)
* emulators don't provide an entry point for initialization.
*/
td->td_pcb->pcb_flags &= ~FP_SOFTFP;
+ pcb->pcb_initial_npxcw = __INITIAL_NPXCW__;
/*
* Drop the FP state if we hold it, so that the process gets a