summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2011-09-15 22:14:35 +0000
committergrehan <grehan@FreeBSD.org>2011-09-15 22:14:35 +0000
commit2256cbe5692847d9defa97bdd74ce0aa9e74157d (patch)
tree42ba64b8c25f527cf3d9b56c4ce4c51c11d445d1 /sys/conf
parent1823067d93fba5ecf7990fee39428954fa5cbf1b (diff)
parente6011fb6bc29d6740516409bd2963015c583c2e9 (diff)
downloadFreeBSD-src-2256cbe5692847d9defa97bdd74ce0aa9e74157d.zip
FreeBSD-src-2256cbe5692847d9defa97bdd74ce0aa9e74157d.tar.gz
IFC @ r225592
sys/dev/bvm/bvm_console.c - move up to the new alt-break order.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES18
-rw-r--r--sys/conf/files1
-rw-r--r--sys/conf/files.powerpc2
-rw-r--r--sys/conf/kern.pre.mk4
-rw-r--r--sys/conf/newvers.sh2
-rw-r--r--sys/conf/options9
6 files changed, 18 insertions, 18 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index d3951e3..fd76593 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -213,6 +213,10 @@ options SCHED_STATS
# Mandatory:
options SMP # Symmetric MultiProcessor Kernel
+# MAXCPU defines the maximum number of CPUs that can boot in the system.
+# A default value should be already present, for every architecture.
+options MAXCPU=32
+
# ADAPTIVE_MUTEXES changes the behavior of blocking mutexes to spin
# if the thread that currently owns the mutex is executing on another
# CPU. This behaviour is enabled by default, so this option can be used
@@ -495,16 +499,6 @@ options DIAGNOSTIC
options REGRESSION
#
-# RESTARTABLE_PANICS allows one to continue from a panic as if it were
-# a call to the debugger to continue from a panic as instead. It is only
-# useful if a kernel debugger is present. To restart from a panic, reset
-# the panicstr variable to NULL and continue execution. This option is
-# for development use only and should NOT be used in production systems
-# to "workaround" a panic.
-#
-#options RESTARTABLE_PANICS
-
-#
# This option lets some drivers co-exist that can't co-exist in a running
# system. This is used to be able to compile all kernel code in one go for
# quality assurance purposes (like this file, which the option takes it name
@@ -1165,6 +1159,9 @@ options MAC_TEST
options CAPABILITIES # fine-grained rights on file descriptors
options CAPABILITY_MODE # sandboxes with no global namespace access
+# Support for process descriptors
+options PROCDESC
+
#####################################################################
# CLOCK OPTIONS
@@ -2932,7 +2929,6 @@ options SCSI_NCR_MYADDR=7
options SC_DEBUG_LEVEL=5 # Syscons debug level
options SC_RENDER_DEBUG # syscons rendering debugging
-options SHOW_BUSYBUFS # List buffers that prevent root unmount
options VFS_BIO_DEBUG # VFS buffer I/O debugging
options KSTACK_MAX_PAGES=32 # Maximum pages to give the kernel stack
diff --git a/sys/conf/files b/sys/conf/files
index 0dc814e..5c5d92d 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -2412,6 +2412,7 @@ kern/subr_witness.c optional witness
kern/sys_capability.c standard
kern/sys_generic.c standard
kern/sys_pipe.c standard
+kern/sys_procdesc.c standard
kern/sys_process.c standard
kern/sys_socket.c standard
kern/syscalls.c standard
diff --git a/sys/conf/files.powerpc b/sys/conf/files.powerpc
index 9f5a357..031a184 100644
--- a/sys/conf/files.powerpc
+++ b/sys/conf/files.powerpc
@@ -207,8 +207,8 @@ powerpc/ps3/ohci_ps3.c optional ps3 ohci
powerpc/ps3/if_glc.c optional ps3 glc
powerpc/ps3/mmu_ps3.c optional ps3
powerpc/ps3/platform_ps3.c optional ps3
-powerpc/ps3/ps3ata.c optional ps3 ps3ata
powerpc/ps3/ps3bus.c optional ps3
+powerpc/ps3/ps3cdrom.c optional ps3 scbus
powerpc/ps3/ps3disk.c optional ps3
powerpc/ps3/ps3pic.c optional ps3
powerpc/ps3/ps3_syscons.c optional ps3 sc
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index e9aa6e2..2320b89 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -27,8 +27,12 @@ SIZE?= size
_MINUS_O= -O
CTFFLAGS+= -g
.else
+.if ${MACHINE_CPUARCH} == "powerpc"
+_MINUS_O= -O # gcc miscompiles some code at -O2
+.else
_MINUS_O= -O2
.endif
+.endif
.if ${MACHINE_CPUARCH} == "amd64"
COPTFLAGS?=-O2 -frename-registers -pipe
.else
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index 9681c79..b7d02e7 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -32,7 +32,7 @@
TYPE="FreeBSD"
REVISION="9.0"
-BRANCH="CURRENT"
+BRANCH="BETA2"
if [ "X${BRANCH_OVERRIDE}" != "X" ]; then
BRANCH=${BRANCH_OVERRIDE}
fi
diff --git a/sys/conf/options b/sys/conf/options
index 9f1ac80..a7f12124 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -47,6 +47,8 @@ TWA_DEBUG opt_twa.h
TWA_FLASH_FIRMWARE opt_twa.h
# Debugging options.
+ALT_BREAK_TO_DEBUGGER opt_kdb.h
+BREAK_TO_DEBUGGER opt_kdb.h
DDB
DDB_BUFR_SIZE opt_ddb.h
DDB_CAPTURE_DEFAULTBUFSIZE opt_ddb.h
@@ -149,11 +151,11 @@ PPC_DEBUG opt_ppc.h
PPC_PROBE_CHIPSET opt_ppc.h
PPS_SYNC opt_ntp.h
PREEMPTION opt_sched.h
+PROCDESC opt_procdesc.h
QUOTA
SCHED_4BSD opt_sched.h
SCHED_STATS opt_sched.h
SCHED_ULE opt_sched.h
-SHOW_BUSYBUFS
SLEEPQUEUE_PROFILING
SLHCI_DEBUG opt_slhci.h
SPX_HACK
@@ -570,6 +572,7 @@ DFLTPHYS opt_global.h
DIAGNOSTIC opt_global.h
INVARIANT_SUPPORT opt_global.h
INVARIANTS opt_global.h
+MAXCPU opt_global.h
MAXPHYS opt_global.h
MCLSHIFT opt_global.h
MUTEX_DEBUG opt_global.h
@@ -578,7 +581,6 @@ LOCK_PROFILING opt_global.h
LOCK_PROFILING_FAST opt_global.h
MSIZE opt_global.h
REGRESSION opt_global.h
-RESTARTABLE_PANICS opt_global.h
RWLOCK_NOINLINE opt_global.h
SX_NOINLINE opt_global.h
VFS_BIO_DEBUG opt_global.h
@@ -636,9 +638,6 @@ BKTR_SIS_VIA_MODE opt_bktr.h
BKTR_USE_FREEBSD_SMBUS opt_bktr.h
BKTR_NEW_MSP34XX_DRIVER opt_bktr.h
-BREAK_TO_DEBUGGER opt_comconsole.h
-ALT_BREAK_TO_DEBUGGER opt_comconsole.h
-
# Options to support PPS
UART_PPS_ON_CTS opt_uart.h
OpenPOWER on IntegriCloud