Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Define "machdep" attribute and mark files (in amd64 and ...
details: https://anonhg.NetBSD.org/src/rev/367f833f9f83
branches: trunk
changeset: 332822:367f833f9f83
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Oct 10 09:13:21 2014 +0000
description:
Define "machdep" attribute and mark files (in amd64 and x86).
diffstat:
sys/arch/amd64/conf/files.amd64 | 26 +++++++++++-----------
sys/arch/x86/conf/files.x86 | 48 ++++++++++++++++++++--------------------
sys/conf/files | 5 +++-
sys/conf/std | 3 +-
4 files changed, 43 insertions(+), 39 deletions(-)
diffs (149 lines):
diff -r 0aef575a103c -r 367f833f9f83 sys/arch/amd64/conf/files.amd64
--- a/sys/arch/amd64/conf/files.amd64 Fri Oct 10 09:01:01 2014 +0000
+++ b/sys/arch/amd64/conf/files.amd64 Fri Oct 10 09:13:21 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.amd64,v 1.83 2014/02/20 03:48:06 pgoyette Exp $
+# $NetBSD: files.amd64,v 1.84 2014/10/10 09:13:21 uebayasi Exp $
#
# new style config file for amd64 architecture
#
@@ -27,25 +27,25 @@
defflag USER_LDT
defflag eisa.h EISA
-file arch/amd64/amd64/amd64func.S
-file arch/amd64/amd64/autoconf.c
-file arch/amd64/amd64/busfunc.S
+file arch/amd64/amd64/amd64func.S machdep
+file arch/amd64/amd64/autoconf.c machdep
+file arch/amd64/amd64/busfunc.S machdep
file arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum
-file arch/amd64/amd64/cpufunc.S
+file arch/amd64/amd64/cpufunc.S machdep
file arch/amd64/amd64/db_disasm.c ddb
file arch/amd64/amd64/db_interface.c ddb
file arch/amd64/amd64/db_machdep.c ddb
file arch/amd64/amd64/kobj_machdep.c modular
file arch/amd64/amd64/kgdb_machdep.c kgdb
file kern/subr_disk_mbr.c disk
-file arch/amd64/amd64/gdt.c
-file arch/amd64/amd64/machdep.c
-file arch/amd64/amd64/process_machdep.c
-file arch/amd64/amd64/trap.c
-file arch/x86/x86/fpu.c
-file arch/x86/x86/convert_xmm_s87.c
-file arch/amd64/amd64/lock_stubs.S
-file dev/cons.c
+file arch/amd64/amd64/gdt.c machdep
+file arch/amd64/amd64/machdep.c machdep
+file arch/amd64/amd64/process_machdep.c machdep
+file arch/amd64/amd64/trap.c machdep
+file arch/x86/x86/fpu.c machdep
+file arch/x86/x86/convert_xmm_s87.c machdep
+file arch/amd64/amd64/lock_stubs.S machdep
+file dev/cons.c machdep
file arch/amd64/amd64/mptramp.S multiprocessor
diff -r 0aef575a103c -r 367f833f9f83 sys/arch/x86/conf/files.x86
--- a/sys/arch/x86/conf/files.x86 Fri Oct 10 09:01:01 2014 +0000
+++ b/sys/arch/x86/conf/files.x86 Fri Oct 10 09:13:21 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.x86,v 1.81 2014/03/18 18:20:41 riastradh Exp $
+# $NetBSD: files.x86,v 1.82 2014/10/10 09:13:21 uebayasi Exp $
# options for MP configuration through the MP spec
defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI
@@ -66,34 +66,34 @@
file arch/x86/x86/vmt.c vmt
file arch/x86/x86/apic.c ioapic | lapic
-file arch/x86/x86/bus_dma.c
-file arch/x86/x86/bus_space.c
-file arch/x86/x86/consinit.c
+file arch/x86/x86/bus_dma.c machdep
+file arch/x86/x86/bus_space.c machdep
+file arch/x86/x86/consinit.c machdep
file arch/x86/x86/core_machdep.c coredump
-file arch/x86/x86/cpu_topology.c
+file arch/x86/x86/cpu_topology.c machdep
file arch/x86/x86/db_memrw.c ddb | kgdb
file arch/x86/x86/db_trace.c ddb
-file arch/x86/x86/errata.c
-file arch/x86/x86/genfb_machdep.c
-file arch/x86/x86/identcpu.c
-file arch/x86/x86/i8259.c
-file arch/x86/x86/intr.c
-file arch/x86/x86/nmi.c
-file arch/x86/x86/idt.c
-file arch/x86/x86/ipi.c
+file arch/x86/x86/errata.c machdep
+file arch/x86/x86/genfb_machdep.c machdep
+file arch/x86/x86/identcpu.c machdep
+file arch/x86/x86/i8259.c machdep
+file arch/x86/x86/intr.c machdep
+file arch/x86/x86/nmi.c machdep
+file arch/x86/x86/idt.c machdep
+file arch/x86/x86/ipi.c machdep
file arch/x86/x86/mtrr_i686.c mtrr
-file arch/x86/x86/patch.c
-file arch/x86/x86/platform.c
-file arch/x86/x86/pmap.c
-file arch/x86/x86/pmap_tlb.c
+file arch/x86/x86/patch.c machdep
+file arch/x86/x86/platform.c machdep
+file arch/x86/x86/pmap.c machdep
+file arch/x86/x86/pmap_tlb.c machdep
file arch/x86/x86/procfs_machdep.c procfs
-file arch/x86/x86/sys_machdep.c
-file arch/x86/x86/syscall.c
-file arch/x86/x86/tsc.c
-file arch/x86/x86/vm_machdep.c
-file arch/x86/x86/x86_autoconf.c
-file arch/x86/x86/x86_userconf.c userconf
-file arch/x86/x86/x86_machdep.c
+file arch/x86/x86/sys_machdep.c machdep
+file arch/x86/x86/syscall.c machdep
+file arch/x86/x86/tsc.c machdep
+file arch/x86/x86/vm_machdep.c machdep
+file arch/x86/x86/x86_autoconf.c machdep
+file arch/x86/x86/x86_userconf.c userconf
+file arch/x86/x86/x86_machdep.c machdep
file arch/x86/x86/cpu_ucode.c cpu_ucode needs-flag
file arch/x86/x86/cpu_ucode_amd.c cpu_ucode needs-flag
diff -r 0aef575a103c -r 367f833f9f83 sys/conf/files
--- a/sys/conf/files Fri Oct 10 09:01:01 2014 +0000
+++ b/sys/conf/files Fri Oct 10 09:13:21 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files,v 1.1108 2014/10/10 09:01:01 uebayasi Exp $
+# $NetBSD: files,v 1.1109 2014/10/10 09:13:21 uebayasi Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
version 20140824
@@ -153,6 +153,9 @@
defflag COMPAT_43
defflag opt_compat_netbsd.h COMPAT_NOMID
+define machdep
+defflag opt_machdep.h MACHDEP
+
#
# Cryptography support. Include this early, since several things
# use it.
diff -r 0aef575a103c -r 367f833f9f83 sys/conf/std
--- a/sys/conf/std Fri Oct 10 09:01:01 2014 +0000
+++ b/sys/conf/std Fri Oct 10 09:13:21 2014 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: std,v 1.16 2014/10/10 08:24:54 uebayasi Exp $
+# $NetBSD: std,v 1.17 2014/10/10 09:13:21 uebayasi Exp $
#
# standard MI 'options'
#
# this file is for options which can't be off-by-default for some reasons.
# "it's commonly used" is NOT a good reason to enable options here.
+options MACHDEP
options UVM
options KERN
Home |
Main Index |
Thread Index |
Old Index