Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111598238
D33886.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D33886.diff
View Options
diff --git a/sys/i386/include/ucontext.h b/sys/i386/include/ucontext.h
--- a/sys/i386/include/ucontext.h
+++ b/sys/i386/include/ucontext.h
@@ -58,6 +58,14 @@
__register_t mc_fpregs[28]; /* env87 + fpacc87 + u_long */
__register_t __spare__[17];
};
+
+struct freebsd4_ucontext {
+ sigset_t uc_sigmask;
+ struct freebsd4_mcontext uc_mcontext;
+ struct freebsd4_ucontext *uc_link;
+ stack_t uc_stack;
+ int __spare__[8];
+};
#endif
#include <x86/ucontext.h>
diff --git a/sys/sys/ucontext.h b/sys/sys/ucontext.h
--- a/sys/sys/ucontext.h
+++ b/sys/sys/ucontext.h
@@ -39,20 +39,6 @@
#define UCF_SWAPPED 0x00000001 /* Used by swapcontext(3). */
-#if defined(_KERNEL) && defined(COMPAT_FREEBSD4)
-#if defined(__i386__)
-struct freebsd4_ucontext {
- sigset_t uc_sigmask;
- struct freebsd4_mcontext uc_mcontext;
- struct freebsd4_ucontext *uc_link;
- stack_t uc_stack;
- int __spare__[8];
-};
-#else /* __i386__ */
-#define freebsd4_ucontext ucontext
-#endif /* __i386__ */
-#endif /* _KERNEL */
-
#ifndef _KERNEL
__BEGIN_DECLS
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 6, 7:45 PM (11 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17018877
Default Alt Text
D33886.diff (1 KB)
Attached To
Mode
D33886: Move struct freebsd4_ucontext to sys/i386/include/ucontext.h.
Attached
Detach File
Event Timeline
Log In to Comment