summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-10-05 06:14:28 +0000
committerkmacy <kmacy@FreeBSD.org>2006-10-05 06:14:28 +0000
commit254e1d0b6bedb639a972924d808f2f973fdee694 (patch)
tree2ce4fd76148db8274ba002abbc89af40cb4a4a1f /sys/conf
parentcb2fdfacbdacc1a7c8bf85059a5fa7ba965a6f28 (diff)
downloadFreeBSD-src-254e1d0b6bedb639a972924d808f2f973fdee694.zip
FreeBSD-src-254e1d0b6bedb639a972924d808f2f973fdee694.tar.gz
placate Grim Reaper with sun4v support
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/Makefile.sun4v49
-rw-r--r--sys/conf/files.sun4v115
-rw-r--r--sys/conf/options.sun4v20
3 files changed, 184 insertions, 0 deletions
diff --git a/sys/conf/Makefile.sun4v b/sys/conf/Makefile.sun4v
new file mode 100644
index 0000000..947ec87
--- /dev/null
+++ b/sys/conf/Makefile.sun4v
@@ -0,0 +1,49 @@
+# Makefile.sparc64 -- with config changes.
+# Copyright 1990 W. Jolitz
+# from: @(#)Makefile.i386 7.1 5/10/91
+# $FreeBSD$
+#
+# Makefile for FreeBSD
+#
+# This makefile is constructed from a machine description:
+# config machineid
+# Most changes should be made in the machine description
+# /sys/sparc64/conf/``machineid''
+# after which you should do
+# config machineid
+# Generic makefile changes should be made in
+# /sys/conf/Makefile.sparc64
+# after which config should be rerun for all machines.
+#
+
+# Which version of config(8) is required.
+%VERSREQ= 600004
+
+STD8X16FONT?= iso
+
+.if !defined(S)
+.if exists(./@/.)
+S= ./@
+.else
+S= ../../..
+.endif
+.endif
+.include "$S/conf/kern.pre.mk"
+
+MDOBJS= exception.o interrupt.o
+
+%BEFORE_DEPEND
+
+%OBJS
+
+%FILES.c
+
+%FILES.s
+
+%FILES.m
+
+%CLEAN
+
+%RULES
+
+.include "$S/conf/kern.post.mk"
diff --git a/sys/conf/files.sun4v b/sys/conf/files.sun4v
new file mode 100644
index 0000000..1af3f2f
--- /dev/null
+++ b/sys/conf/files.sun4v
@@ -0,0 +1,115 @@
+# This file tells config what files go into building a kernel,
+# files marked standard are always included.
+#
+# $FreeBSD$
+#
+# The long compile-with and dependency lines are required because of
+# limitations in config: backslash-newline doesn't work in strings, and
+# dependency lines other than the first are silently ignored.
+#
+atkbdmap.h optional atkbd_dflt_keymap \
+ compile-with "/usr/sbin/kbdcontrol -L ${ATKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > atkbdmap.h" \
+ no-obj no-implicit-rule before-depend \
+ clean "atkbdmap.h"
+#
+ukbdmap.h optional ukbd_dflt_keymap \
+ compile-with "/usr/sbin/kbdcontrol -L ${UKBD_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > ukbdmap.h" \
+ no-obj no-implicit-rule before-depend \
+ clean "ukbdmap.h"
+#
+#
+crypto/blowfish/bf_enc.c optional crypto | ipsec ipsec_esp
+crypto/des/des_enc.c optional crypto | ipsec ipsec_esp | \
+ netsmbcrypto
+dev/ofw/ofw_bus_if.m standard
+dev/ofw/ofw_bus_subr.c standard
+dev/ofw/ofw_console.c optional ofw_console
+dev/ofw/openfirm.c standard
+dev/ofw/openfirmio.c standard
+dev/ofw/openpromio.c standard
+dev/uart/uart_cpu_sparc64.c optional uart
+geom/geom_bsd.c standard
+geom/geom_bsd_enc.c standard
+geom/geom_sunlabel.c standard
+geom/geom_sunlabel_enc.c standard
+kern/syscalls.c optional ktr
+libkern/ffs.c standard
+libkern/ffsl.c standard
+libkern/fls.c standard
+libkern/flsl.c standard
+sun4v/sun4v/autoconf.c standard
+sun4v/sun4v/bus_machdep.c standard
+sun4v/sun4v/clock.c standard
+sun4v/sun4v/counter.c standard
+sun4v/sun4v/db_disasm.c optional ddb
+sun4v/sun4v/db_interface.c optional ddb
+sun4v/sun4v/db_trace.c optional ddb
+sun4v/sun4v/db_hwwatch.c optional ddb
+sun4v/sun4v/dump_machdep.c standard
+sun4v/sun4v/elf_machdep.c standard
+sun4v/sun4v/exception.S standard no-obj
+sun4v/sun4v/eeprom.c optional eeprom ebus | eeprom fhc | \
+ eeprom sbus
+sun4v/sun4v/gdb_machdep.c optional gdb
+sun4v/sun4v/hv_pci.c optional pci
+sun4v/sun4v/trap_trace.S optional trap_tracing
+sparc64/pci/ofw_pci.c optional pci
+sparc64/pci/ofw_pcib.c optional pci
+sparc64/pci/ofw_pcib_subr.c optional pci
+sparc64/pci/ofw_pcibus.c optional pci
+sparc64/pci/ofw_pci_if.m optional pci
+sparc64/dtrace/dtrace_asm.s optional dtrace
+sparc64/dtrace/dtrace_isa.c optional dtrace
+sparc64/dtrace/fasttrap_isa.c optional dtrace
+sparc64/dtrace/fbt.c optional dtrace
+sparc64/dtrace/sdt.c optional dtrace
+sparc64/dtrace/dtrace_stub.c standard
+
+# XXX hvcons should be optional
+sun4v/sun4v/hvcons.c standard
+sun4v/sun4v/hcall.S standard
+sun4v/sun4v/hviommu.c standard
+sun4v/sun4v/identcpu.c standard
+sun4v/sun4v/in_cksum.c optional inet
+sun4v/sun4v/interrupt.S standard no-obj
+sun4v/sun4v/intr_machdep.c standard
+sun4v/sun4v/locore.S standard no-obj
+sun4v/sun4v/machdep.c standard
+sun4v/sun4v/mem.c optional mem
+sun4v/sun4v/mp_exception.S optional smp
+sun4v/sun4v/mp_locore.S optional smp
+sun4v/sun4v/mp_machdep.c optional smp
+sun4v/sun4v/nexus.c standard
+sun4v/sun4v/t1_copy.S standard
+sun4v/sun4v/ofw_bus.c standard
+sun4v/sun4v/ofw_machdep.c standard
+sun4v/sun4v/pmap.c standard
+sun4v/sun4v/prof_machdep.c optional profiling-routine
+sun4v/sun4v/rwindow.c standard
+sun4v/sun4v/simdisk.c optional simulator
+sun4v/sun4v/support.S standard
+sun4v/sun4v/sys_machdep.c standard
+sun4v/sun4v/swtch.S standard
+sun4v/sun4v/tsb.c standard
+sun4v/sun4v/tte.c standard
+sun4v/sun4v/tte_hash.c standard
+sun4v/sun4v/tick.c standard
+sun4v/sun4v/trap.c standard
+sun4v/sun4v/uio_machdep.c standard
+sun4v/sun4v/vm_machdep.c standard
+sun4v/sun4v/vnex.c standard
+
+
+sun4v/mdesc/mdesc_bus_if.m standard
+sun4v/mdesc/mdesc_scandag.c standard
+sun4v/mdesc/mdesc_init.c standard
+sun4v/mdesc/mdesc_init_intern.c standard
+sun4v/mdesc/mdesc_subr.c standard
+sun4v/mdesc/mdesc_bus_subr.c standard
+sun4v/mdesc/mdesc_getpropstr.c standard
+sun4v/mdesc/mdesc_getpropval.c standard
+sun4v/mdesc/mdesc_rootnode.c standard
+sun4v/mdesc/mdesc_findname.c standard
+sun4v/mdesc/mdesc_nodecount.c standard
+sun4v/mdesc/mdesc_findnodeprop.c standard
+sun4v/mdesc/mdesc_vdevfindval.c standard
diff --git a/sys/conf/options.sun4v b/sys/conf/options.sun4v
new file mode 100644
index 0000000..393be46
--- /dev/null
+++ b/sys/conf/options.sun4v
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+SUN4V opt_global.h
+
+GFB_DEBUG opt_gfb.h
+GFB_NO_FONT_LOADING opt_gfb.h
+GFB_NO_MODE_CHANGE opt_gfb.h
+
+DEBUGGER_ON_POWERFAIL opt_psycho.h
+OFW_PCI_DEBUG opt_ofw_pci.h
+OFWCONS_POLL_HZ opt_ofw.h
+# Debug IOMMU inserts/removes using diagnostic accesses. Very loud.
+IOMMU_DIAG opt_iommu.h
+PMAP_STATS opt_pmap.h
+SIMULATOR opt_simulator.h
+
+DTRACE opt_global.h
+
+TRAP_TRACING opt_trap_trace.h
+TRAP_TRACE_ENTRIES opt_trap_trace.h
OpenPOWER on IntegriCloud