Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Add a define __HAVE_CPU_DATA_FIRST which means that...
details: https://anonhg.NetBSD.org/src/rev/6bc75090cb89
branches: trunk
changeset: 759956:6bc75090cb89
user: matt <matt%NetBSD.org@localhost>
date: Wed Dec 22 01:03:02 2010 +0000
description:
Add a define __HAVE_CPU_DATA_FIRST which means that cpu_data is the first
member in struct cpu_info.
diffstat:
sys/arch/arm/include/types.h | 3 ++-
sys/arch/mips/include/types.h | 3 ++-
sys/arch/powerpc/include/types.h | 10 +++++-----
sys/arch/vax/include/types.h | 3 ++-
4 files changed, 11 insertions(+), 8 deletions(-)
diffs (74 lines):
diff -r f8b89a4380a6 -r 6bc75090cb89 sys/arch/arm/include/types.h
--- a/sys/arch/arm/include/types.h Wed Dec 22 00:05:33 2010 +0000
+++ b/sys/arch/arm/include/types.h Wed Dec 22 01:03:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.17 2009/12/11 05:52:03 matt Exp $ */
+/* $NetBSD: types.h,v 1.18 2010/12/22 01:04:23 matt Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@@ -83,6 +83,7 @@
#define __HAVE_SYSCALL_INTERN
#define __HAVE_MINIMAL_EMUL
+#define __HAVE_CPU_DATA_FIRST
#if defined(_KERNEL)
#define __HAVE_RAS
diff -r f8b89a4380a6 -r 6bc75090cb89 sys/arch/mips/include/types.h
--- a/sys/arch/mips/include/types.h Wed Dec 22 00:05:33 2010 +0000
+++ b/sys/arch/mips/include/types.h Wed Dec 22 01:03:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.45 2009/12/14 00:46:05 matt Exp $ */
+/* $NetBSD: types.h,v 1.46 2010/12/22 01:03:02 matt Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -131,6 +131,7 @@
#define __HAVE_AST_PERPROC
#define __HAVE_SYSCALL_INTERN
#define __HAVE_PROCESS_XFPREGS
+#define __HAVE_CPU_DATA_FIRST
#ifdef MIPS3_PLUS /* XXX bogus! */
#define __HAVE_CPU_COUNTER
#endif
diff -r f8b89a4380a6 -r 6bc75090cb89 sys/arch/powerpc/include/types.h
--- a/sys/arch/powerpc/include/types.h Wed Dec 22 00:05:33 2010 +0000
+++ b/sys/arch/powerpc/include/types.h Wed Dec 22 01:03:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.35 2010/07/07 01:20:50 chs Exp $ */
+/* $NetBSD: types.h,v 1.36 2010/12/22 01:03:03 matt Exp $ */
/*-
* Copyright (C) 1995 Wolfgang Solfrank.
@@ -71,10 +71,10 @@
#define __SIMPLELOCK_LOCKED 1
#define __SIMPLELOCK_UNLOCKED 0
-#define __HAVE_CPU_COUNTER
-#define __HAVE_SYSCALL_INTERN
-#define __HAVE_CPU_LWP_SETPRIVATE
-
+#define __HAVE_CPU_COUNTER
+#define __HAVE_SYSCALL_INTERN
+#define __HAVE_CPU_LWP_SETPRIVATE
+#define __HAVE_CPU_DATA_FIRST
#ifdef _LP64
#define __HAVE_ATOMIC64_OPS
#endif
diff -r f8b89a4380a6 -r 6bc75090cb89 sys/arch/vax/include/types.h
--- a/sys/arch/vax/include/types.h Wed Dec 22 00:05:33 2010 +0000
+++ b/sys/arch/vax/include/types.h Wed Dec 22 01:03:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.40 2009/12/11 05:52:04 matt Exp $ */
+/* $NetBSD: types.h,v 1.41 2010/12/22 01:03:18 matt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -75,5 +75,6 @@
#define __HAVE_DEVICE_REGISTER
#define __HAVE_SYSCALL_INTERN
#define __HAVE_FAST_SOFTINTS
+#define __HAVE_CPU_DATA_FIRST
#endif /* _MACHTYPES_H_ */
Home |
Main Index |
Thread Index |
Old Index