Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86_64/include Move struct savefpu outside ifdef _K...
details: https://anonhg.NetBSD.org/src/rev/ebd1caddd958
branches: trunk
changeset: 533651:ebd1caddd958
user: fvdl <fvdl%NetBSD.org@localhost>
date: Sat Jul 06 10:43:32 2002 +0000
description:
Move struct savefpu outside ifdef _KERNEL for the benefit of userland
code that includes <machine/pcb.h>
diffstat:
sys/arch/x86_64/include/fpu.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r fb1af70f8ff0 -r ebd1caddd958 sys/arch/x86_64/include/fpu.h
--- a/sys/arch/x86_64/include/fpu.h Sat Jul 06 10:23:06 2002 +0000
+++ b/sys/arch/x86_64/include/fpu.h Sat Jul 06 10:43:32 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu.h,v 1.3 2002/06/12 19:13:27 fvdl Exp $ */
+/* $NetBSD: fpu.h,v 1.4 2002/07/06 10:43:32 fvdl Exp $ */
#ifndef _X86_64_FPU_H_
#define _X86_64_FPU_H_
@@ -24,14 +24,14 @@
/*BITFIELDTYPE*/ u_int8_t fx_unused3[96];
} __attribute__ ((aligned (16)));
-#ifdef _KERNEL
-
struct savefpu {
struct fxsave64 fp_fxsave; /* see above */
u_int16_t fp_ex_sw; /* saved status from last exception */
u_int16_t fp_ex_tw; /* saved tag from last exception */
};
+#ifdef _KERNEL
+
/*
* This one only used for backward compat coredumping.
*/
Home |
Main Index |
Thread Index |
Old Index