Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 14:37:01 -0700 (PDT)
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 12334 for review
Message-ID:  <200206032137.g53Lb1N51509@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=12334

Change 12334 by julian@julian_ref on 2002/06/03 14:36:14

	 re-add a union entry to make it compile again under 386.
	alpha version not yet correct.

Affected files ...

... //depot/projects/kse/sys/alpha/include/kse.h#2 edit
... //depot/projects/kse/sys/i386/i386/vm_machdep.c#47 edit
... //depot/projects/kse/sys/i386/include/kse.h#5 edit
... //depot/projects/kse/sys/kern/kern_thread.c#56 edit

Differences ...

==== //depot/projects/kse/sys/alpha/include/kse.h#2 (text+ko) ====

@@ -30,10 +30,19 @@
 
 #ifndef MACHINE_KSE_H
 #define MACHINE_KSE_H
+#ifdef _KERNEL
 #include <machine/frame.h>
+#endif
 #include <machine/ucontext.h>
 
 union kse_td_ctx {
+#ifdef _KERNEL
+	struct {
+		int		tf_onstack;
+		int		tf_gs;
+		struct trapframe tf_tf;
+	} tfrm;
+#endif
 	mcontext_t	mcontext;
 };
 

==== //depot/projects/kse/sys/i386/i386/vm_machdep.c#47 (text+ko) ====


==== //depot/projects/kse/sys/i386/include/kse.h#5 (text+ko) ====

@@ -30,10 +30,19 @@
 
 #ifndef MACHINE_KSE_H
 #define MACHINE_KSE_H
+#ifdef _KERNEL
 #include <machine/frame.h>
+#endif
 #include <machine/ucontext.h>
 
 union kse_td_ctx {
+#ifdef _KERNEL
+	struct {
+		int		tf_onstack;
+		int		tf_gs;
+		struct trapframe tf_tf;
+	} tfrm;
+#endif
 	mcontext_t	mcontext;
 };
 

==== //depot/projects/kse/sys/kern/kern_thread.c#56 (text+ko) ====


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206032137.g53Lb1N51509>