head	1.9;
access;
symbols
	RELENG_9_1_0_RELEASE:1.4.2.1.4.2
	RELENG_9_1:1.4.2.1.0.4
	RELENG_9_1_BP:1.4.2.1
	RELENG_9_0_0_RELEASE:1.4.2.1.2.1
	RELENG_9_0:1.4.2.1.0.2
	RELENG_9_0_BP:1.4.2.1
	RELENG_9:1.4.0.2
	RELENG_9_BP:1.4;
locks; strict;
comment	@# @;


1.9
date	2012.11.17.01.52.48;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.03.29.02.54.35;	author jmallett;	state Exp;
branches;
next	1.7;

1.7
date	2012.03.12.21.25.32;	author jmallett;	state Exp;
branches;
next	1.6;

1.6
date	2011.12.05.03.18.40;	author jchandra;	state Exp;
branches;
next	1.5;

1.5
date	2011.11.18.11.18.59;	author jchandra;	state Exp;
branches;
next	1.4;

1.4
date	2011.09.05.10.45.29;	author jchandra;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2011.07.19.13.00.30;	author attilio;	state Exp;
branches;
next	1.2;

1.2
date	2011.07.17.18.51.51;	author jchandra;	state Exp;
branches;
next	1.1;

1.1
date	2011.07.16.20.31.29;	author jchandra;	state Exp;
branches;
next	;

1.4.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.4.2.1.2.1
	1.4.2.1.4.1;
next	1.4.2.2;

1.4.2.2
date	2012.11.17.11.37.15;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.4.2.1.2.2;

1.4.2.1.2.2
date	2012.11.17.08.37.11;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.4.2.1.4.2;

1.4.2.1.4.2
date	2012.11.17.08.48.02;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Switching exporter and resync
@
text
@# XLPN32 -- Generic kernel configuration file for FreeBSD/mips
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files. 
# If you are in doubt as to the purpose or necessity of a line, check first 
# in NOTES.
#
# $FreeBSD: head/sys/mips/conf/XLPN32 233644 2012-03-29 02:54:35Z jmallett $

machine 	mips mipsn32
ident           XLPN32

makeoptions	ARCH_FLAGS="-march=mips64 -mabi=n32"
makeoptions	KERNLOADADDR=0x80100000

include		"std.XLP"

nooption 	DDB
nooption 	KDB
nooption 	GDB
nooption 	BREAK_TO_DEBUGGER
nooption 	ALT_BREAK_TO_DEBUGGER

makeoptions	TRAMPLOADADDR=0xffffffff85000000
makeoptions	TRAMP_ARCH_FLAGS="-mabi=64 -march=mips64"
@


1.8
log
@SVN rev 233644 on 2012-03-29 02:54:35Z by jmallett

Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.
This makes our naming scheme more closely match other systems and the
expectations of much third-party software.  MIPS builds which are little-endian
should require and exhibit no changes.  Big-endian TARGET_ARCHes must be
changed:
	From:		To:
	mipseb		mips
	mipsn32eb	mipsn32
	mips64eb	mips64

An entry has been added to UPDATING and some foot-shooting protection (complete
with warnings which should become errors in the near future) to the top-level
base system Makefile.
@
text
@d18 1
a18 1
# $FreeBSD$
@


1.7
log
@SVN rev 232896 on 2012-03-12 21:25:32Z by jmallett

o) Use ABI, not ISA_* options, to determine whether to compile bits if libkern
   required for the ABI the kernel is being built for.
   XXX This is implemented in a kind-of nasty way that involves including source
       files, but it's still an improvement.
o) Retire ISA_* options since they're unused and were always wrong.
@
text
@d20 1
a20 1
machine 	mips mipsn32eb
@


1.6
log
@SVN rev 228273 on 2011-12-05 03:18:40Z by jchandra

Disable KDB/DDB options for XLP N32 compile.

n32 abi is not supported in KDB/DDB yet, disable the option in
XLPN32 conf.

Reported by:	gonzo, bz
@
text
@a22 1
options 	ISA_MIPS64
@


1.5
log
@SVN rev 227663 on 2011-11-18 11:18:59Z by jchandra

Rearrange XLP configuration files.

Create std.XLP for configuration options, which is included by the
conf files. The files XLP, XLPN32 and XLP64 will have mostly ABI related
options.

Also move uart and pci to mips/nlm/std.xlp since all XLP configurations
needs these devices.

Obtained from:	prabhath at netlogicmicro com (intial version)
@
text
@d29 6
@


1.4
log
@SVN rev 225394 on 2011-09-05 10:45:29Z by jchandra

MIPS XLP platform code update.

* Update the hardware access register definitions and functions to bring
  them in line with other Netlogic software.
* Update the platform bus to use PCI even for on-chip devices. Add a dummy
  PCI driver to ignore on-chip devices which do not need driver.
* Provide memory and IRQ resource allocation code for on-chip devices
  which cannot get it from PCI config.
* add support for on-chip PCI and USB interfaces.
* update conf files, enable pci and retain old MAXCPU until we can support
  >32 cpus.

Approved by:	re(kib), jmallett
@
text
@d27 2
a28 4
include		"../nlm/std.xlp"
makeoptions	MODULES_OVERRIDE=""
makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
#profile 	2
a30 64

options 	SCHED_ULE		# ULE scheduler
#options 	VERBOSE_SYSINIT
#options 	SCHED_4BSD		# 4BSD scheduler
options         SMP
options 	PREEMPTION		# Enable kernel thread preemption
#options 	FULL_PREEMPTION		# Enable kernel thread preemption
#options 	MAXCPU=128		# XLP can probe 128 CPUs
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options 	FFS			# Berkeley Fast Filesystem
#options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options		NFSCL
options		NFS_ROOT
options		MSDOSFS			#MSDOS Filesystem
#
#options 	BOOTP
#options 	BOOTP_NFSROOT
#options 	BOOTP_NFSV3
#options 	BOOTP_WIRED_TO=nlge0
#options 	BOOTP_COMPAT
#options 	ROOTDEVNAME=\"nfs:10.1.1.8:/usr/extra/nfsroot\"
#
options 	MD_ROOT			# MD is a potential root device
options		MD_ROOT_SIZE=27000
options		ROOTDEVNAME=\"ufs:md0\"
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	HZ=1000	
options 	NO_SWAPPING

#Debugging options
options 	KTRACE			# ktrace(1) support
#options 	DDB
#options 	KDB
#options 	GDB
#options 	BREAK_TO_DEBUGGER
#options 	ALT_BREAK_TO_DEBUGGER
#options 	DEADLKRES		#Enable the deadlock resolver
#options 	INVARIANTS		#Enable calls of extra sanity checking
#options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			#Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed
#options 	KTR			# ktr(4) and ktrdump(8) support
#options 	KTR_COMPILE=(KTR_LOCK|KTR_PROC|KTR_INTR|KTR_CALLOUT|KTR_UMA|KTR_SYSC)
#options 	KTR_ENTRIES=131072
#options 	LOCK_DEBUG
#options 	LOCK_PROFILING


# Pseudo
device		loop
device		random
device		md
device		pty
device		bpf

# UART
device		uart
device		pci

# Network
device		ether
@


1.4.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.4.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d18 1
a18 1
# $FreeBSD: stable/9/sys/mips/conf/XLPN32 225394 2011-09-05 10:45:29Z jchandra $
@


1.4.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.4.2.1.4.2
log
@Switch importer
@
text
@d18 1
a18 1
# $FreeBSD: releng/9.1/sys/mips/conf/XLPN32 225394 2011-09-05 10:45:29Z jchandra $
@


1.4.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.4.2.1.2.2
log
@Switch importer
@
text
@d18 1
a18 1
# $FreeBSD: releng/9.0/sys/mips/conf/XLPN32 225394 2011-09-05 10:45:29Z jchandra $
@


1.3
log
@SVN rev 224217 on 2011-07-19 13:00:30Z by attilio

Bump MAXCPU for amd64, ia64 and XLP mips appropriately.
From now on, default values for FreeBSD will be 64 maxiumum supported
CPUs on amd64 and ia64 and 128 for XLP. All the other architectures
seem already capped appropriately (with the exception of sparc64 which
needs further support on jalapeno flavour).

Bump __FreeBSD_version in order to reflect KBI/KPI brekage introduced
during the infrastructure cleanup for supporting MAXCPU > 32. This
covers cpumask_t retiral too.

The switch is considered completed at the present time, so for whatever
bug you may experience that is reconducible to that area, please report
immediately.

Requested by:	marcel, jchandra
Tested by:	pluknet, sbruno
Approved by:	re (kib)
@
text
@d40 1
a40 1
options		MAXCPU=128		# XLP can probe 128 CPUs
d93 1
@


1.2
log
@SVN rev 224143 on 2011-07-17 18:51:51Z by jchandra

Comment out KDB/DDB related options for N32 kernel.

DDB files have warnings in this ABI which will break the kernel build
unless Werror is ignored

Reported by:	bz
@
text
@d40 1
@


1.1
log
@SVN rev 224115 on 2011-07-16 20:31:29Z by jchandra

MIPS changes for Netlogic XLP support.

This patch adds support for the Netlogic XLP mips64 processors in
the common MIPS code. The changes are :

- Add CPU_NLM processor type
- Add cases for CPU_NLM, mostly were CPU_RMI is used.
- Update cache flush changes for CPU_NLM
- Add kernel build configuration files for xLP.

In collaboration with: Prabhath Raman <prabhathpr at netlogicmicro com>

Approved by:	bz(re), jmallett, imp(mips)
@
text
@d66 5
a70 5
options 	DDB
options 	KDB
options 	GDB
options 	BREAK_TO_DEBUGGER
options 	ALT_BREAK_TO_DEBUGGER
@

