Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Make __HAVE_CPU_DATA_FIRST true
details: https://anonhg.NetBSD.org/src/rev/e7457dff60cb
branches: trunk
changeset: 759964:e7457dff60cb
user: christos <christos%NetBSD.org@localhost>
date: Wed Dec 22 04:15:01 2010 +0000
description:
Make __HAVE_CPU_DATA_FIRST true
diffstat:
sys/arch/amd64/include/types.h | 3 ++-
sys/arch/i386/include/types.h | 3 ++-
sys/arch/x86/include/cpu.h | 4 ++--
3 files changed, 6 insertions(+), 4 deletions(-)
diffs (59 lines):
diff -r 2275e08d50b0 -r e7457dff60cb sys/arch/amd64/include/types.h
--- a/sys/arch/amd64/include/types.h Wed Dec 22 03:22:43 2010 +0000
+++ b/sys/arch/amd64/include/types.h Wed Dec 22 04:15:01 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.33 2009/12/11 05:52:03 matt Exp $ */
+/* $NetBSD: types.h,v 1.34 2010/12/22 04:15:02 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -78,6 +78,7 @@
#define __HAVE_DEVICE_REGISTER
#define __HAVE_CPU_COUNTER
+#define __HAVE_CPU_INFO_FIRST
#define __HAVE_MD_CPU_OFFLINE
#define __HAVE_SYSCALL_INTERN
#define __HAVE_MINIMAL_EMUL
diff -r 2275e08d50b0 -r e7457dff60cb sys/arch/i386/include/types.h
--- a/sys/arch/i386/include/types.h Wed Dec 22 03:22:43 2010 +0000
+++ b/sys/arch/i386/include/types.h Wed Dec 22 04:15:01 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.69 2010/12/14 15:50:07 haad Exp $ */
+/* $NetBSD: types.h,v 1.70 2010/12/22 04:15:02 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -102,6 +102,7 @@
#define __NO_STRICT_ALIGNMENT
#define __HAVE_DEVICE_REGISTER
+#define __HAVE_CPU_DATA_FIRST
#define __HAVE_CPU_COUNTER
#define __HAVE_MD_CPU_OFFLINE
#define __HAVE_SYSCALL_INTERN
diff -r 2275e08d50b0 -r e7457dff60cb sys/arch/x86/include/cpu.h
--- a/sys/arch/x86/include/cpu.h Wed Dec 22 03:22:43 2010 +0000
+++ b/sys/arch/x86/include/cpu.h Wed Dec 22 04:15:01 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.25 2010/08/16 19:39:06 jym Exp $ */
+/* $NetBSD: cpu.h,v 1.26 2010/12/22 04:15:01 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -78,6 +78,7 @@
*/
struct cpu_info {
+ struct cpu_data ci_data; /* MI per-cpu data */
device_t ci_dev; /* pointer to our device */
struct cpu_info *ci_self; /* self-pointer */
volatile struct vcpu_info *ci_vcpu; /* for XEN */
@@ -97,7 +98,6 @@
int ci_cpumask; /* (1 << CPU ID) */
uint32_t ci_acpiid; /* our ACPI/MADT ID */
uint32_t ci_initapicid; /* our intitial APIC ID */
- struct cpu_data ci_data; /* MI per-cpu data */
/*
* Private members.
Home |
Main Index |
Thread Index |
Old Index