NetBSD/sys/arch
mrg d7ad3f5fab allocate 128KB (as opposed to 64KB) per-cpu, and place the interrupt
stack, cpu_info structure, panicstack, idle uarea and normal kernel
stack in here.  the idle uarea and kernel stack are in the 2nd 64KB
page.  the interrupt stack and cpu_info structure are as the same
place in the 1st 64KB page, and the panicstack grows down from the
top of this page.  update comments in param.h to suit (XXX: a lot
of these constants should move to a header file that will not pollute
the name space so much.)  map these pages identically between
cpu_initialise() and cpu_mp_startup(), and deal with the two 64KB
pages in pmap_extract().  keep an unmapped 64KB page between them.

don't initialise the unused "ci_eintstack" member of the cpu_info
structure

use constants to initialise many addresses in the cpu_info structure,
consolidating these assignments from cpu0 and cpu>0

delete u0/estack0/panicstack from locore.s

clean up some wrong comments in locore.s

fix a 32bit-only bug in cpu_mp_startup().

delete 'u0' entirely.


this fixes recent random lossage seen on port-sparc64: processes
stuck in RUN state, data faults, and hangs.
2006-10-17 22:26:05 +00:00
..
acorn26 When processing RASes, only pay attention to, and change, the PC parts of R15, 2006-10-15 12:45:32 +00:00
acorn32 The correct number of elements to insert into cmd_iohs is WDC_NREG. Using 2006-10-09 21:12:44 +00:00
algor - Document COMPAT_15 as doing nothing 2006-09-27 21:42:04 +00:00
alpha PR/29274: Anders Hjalmarsson: MOP booting Alphaserver 2000 does not find 2006-10-07 18:04:38 +00:00
amd64 Sync IDE/SATA drivers with i386/GENERIC. Fixes PR port-amd64/34829. 2006-10-15 14:41:49 +00:00
amiga Conversion to clock_ymdhms wasn't complete: the match routine was calling 2006-10-10 17:24:23 +00:00
amigappc - remove unused bdbtofsb. 2006-08-28 13:43:35 +00:00
arc Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks! 2006-10-01 18:56:21 +00:00
arm Use RCSID(). 2006-10-08 12:41:51 +00:00
atari More from Matt Fleming: 2006-10-01 20:31:49 +00:00
bebox remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
cats remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
cesfic Cesfic converted to timecounters (clockinterrupt only ) and generic-todr 2006-09-06 04:29:01 +00:00
cobalt - Document COMPAT_15 as doing nothing 2006-09-27 21:42:04 +00:00
dreamcast Switch the rest of sh3 ports to todr(9) 2006-09-20 00:41:11 +00:00
evbarm Add $NetBSD$. 2006-10-17 17:06:22 +00:00
evbmips Active SPI connected STMicro serial flash. Note that this driver is still 2006-10-07 07:24:23 +00:00
evbppc * convert ibm4xx-based evbppc from reserved-TLB entry allocation to recently 2006-10-16 18:14:37 +00:00
evbsh3 Add kernel_text symbol for pmap(1). Closes PR kern/19877. 2006-10-07 01:21:47 +00:00
evbsh5 Disable SYSTRACE by default on all kernels (discussed with core) 2006-08-12 15:29:52 +00:00
ews4800mips remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
hp300 remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
hp700 Remove an unnecessary goto 2006-10-05 07:04:31 +00:00
hpc Add __unused to unused function arguments. 2006-10-12 21:31:29 +00:00
hpcarm Backout audio changes that crept in (not ready yet). 2006-10-07 14:27:54 +00:00
hpcmips remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
hpcsh Add "name" parameter to powerhook_establish, to aid debugging. No objections 2006-09-24 03:53:07 +00:00
hppa Reformat a comment and fix a typo. 2006-10-14 09:09:34 +00:00
i386 XEN_NO_HYPERCALLPAGE is redundant with XEN_COMPAT_030001; make 2006-10-17 19:57:24 +00:00
ia64 fix gcc -Werror -Wmissing-braces problem 2006-10-04 13:51:59 +00:00
ibmnws - Document COMPAT_15 as doing nothing 2006-09-27 21:42:04 +00:00
iyonix Enable timecounters for iyonix 2006-09-10 23:15:58 +00:00
landisk Replace __INTR_MASK and swap dance to load PSL_RB (and doing stc/ldc 2006-10-15 02:31:00 +00:00
luna68k Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks! 2006-10-01 18:56:21 +00:00
m68k fix gcc -Werror -Wmissing-braces problem 2006-10-04 13:51:59 +00:00
mac68k Cast addresses to int before doing arithmetic on them, as in uses 2006-10-07 21:13:02 +00:00
macppc ansify 2006-10-15 21:23:19 +00:00
mips Forgot to commit this file when adding SPI support to Atheros. 2006-10-14 15:33:23 +00:00
mipsco remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
mmeye Add kernel_text symbol for pmap(1). Closes PR kern/19877. 2006-10-07 01:21:47 +00:00
mvme68k Convet to MI todr. Ok steve@. 2006-09-09 22:28:27 +00:00
mvmeppc Use MI todr framework. Untested, but considered extremely 2006-09-17 03:38:36 +00:00
netwinder Convert netwinder to generic TODR. Committed after total lack of feedback 2006-09-15 16:28:41 +00:00
news68k remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
newsmips Make this actually build again -- cast addresses to int before 2006-10-07 21:05:46 +00:00
next68k Convert next68k to generic-todr and timecounter. 2006-09-11 15:07:50 +00:00
ofppc - Document COMPAT_15 as doing nothing 2006-09-27 21:42:04 +00:00
pc532 fix gcc -Werror -Wmissing-braces problem 2006-10-04 13:51:59 +00:00
pdp10 fix gcc -Werror -Wmissing-braces problem 2006-10-04 13:51:59 +00:00
playstation2 Protect from multiple inclusion. 2006-09-26 13:11:59 +00:00
pmax remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
pmppc remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
powerpc * convert ibm4xx-based evbppc from reserved-TLB entry allocation to recently 2006-10-16 18:14:38 +00:00
prep Use a non-zero quality for mftb counter. 2006-10-13 14:17:37 +00:00
sandpoint - Document COMPAT_15 as doing nothing 2006-09-27 21:42:04 +00:00
sbmips - Document COMPAT_15 as doing nothing 2006-09-27 21:42:04 +00:00
sgimips Allow wd33c93 attachments to choose what DMA mode it should use, and arrange 2006-10-01 22:02:55 +00:00
sh3 Don't include <machine/intr.h> in asm sources. 2006-10-15 02:11:21 +00:00
sh5 fix gcc -Werror -Wmissing-braces problem 2006-10-04 13:51:59 +00:00
shark remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
sparc Missing initializers 2006-10-15 21:01:03 +00:00
sparc64 allocate 128KB (as opposed to 64KB) per-cpu, and place the interrupt 2006-10-17 22:26:05 +00:00
sun2 Sort options. 2006-10-14 07:24:06 +00:00
sun3 Make this compile with FD_DEBUG. 2006-10-14 08:11:16 +00:00
sun68k Clear pending flags before calling handers otherwise possibly some softintr 2006-10-10 13:26:47 +00:00
vax Add #inclusion protection. 2006-10-09 18:42:59 +00:00
x68k remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
x86 More __unused (NPCPPI == 0 case). 2006-10-13 10:09:36 +00:00
xen Change BSD_SYMTAB to BSD_SYMTAB=yes. Xen-3.0.2 wants it, and xen-3.0.3 2006-10-17 22:16:20 +00:00
Makefile Remove a debug message. 2006-09-28 07:48:35 +00:00
README Some minor nits. 2005-12-29 16:20:34 +00:00

$NetBSD: README,v 1.40 2005/12/29 16:20:34 tsutsui Exp $

acorn26:	Acorn ARM2- and ARM3-based machines (arm, 20000509)
acorn32:	Acorn computers Ltd. ARM 6/7/SA based machines (arm, 20011118)
algor:		Algorithmics, Ltd. MIPS evaluation boards (mips, 20010528)
alpha:		Compaq (formerly Digital Equipment Corp.) Alpha (alpha, 19950213)
amd64:		AMD's x86 64 bit architecture (x86_64, 20010619)
amiga:		Commodore et al. Amiga (m68k, 19930902)
amigappc:	Phase 5 Amiga (powerpc, 20000525)
arc:		MIPS Advanced Risc Computing spec machines (mips, 20000123)
atari:		Atari TT30, Falcon, and Hades (m68k, 19950326)
bebox:		Be Inc. BeBox (powerpc, 19971014)
cats:		Chalice Technologies, CATS motherboard (arm, 19981005)
cesfic:		FIC8234 VME processor board (m68k, 20010514)
cobalt:		Cobalt Networks Microservers (mips, 20000319)
dreamcast:	SEGA Dreamcast (sh3, 20010107)
evbarm:		ARM-based eval boards (arm, 20010905)
evbmips:	MIPS-based eval boards (mips, 20020307)
evbppc:		PowerPC-based eval boards (powerpc, 20021209)
evbsh3:		Hitachi SuperH(TM) sh3 and sh4 eval boards (sh3, 20010206)
evbsh5:		Hitachi SuperH(TM) sh5 eval boards (sh5, 20020705)
ews4800mips:	NEC's MIPS based EWS4800 workstations (ews4800mips, 20051229)
hp300:		Hewlett Packard 300- and 400-series machines (m68k, 19930512)
hp700:		Hewlett Packard 700-series machines (hppa, 20020606)
hpcarm:		ARM based handheld PCs (arm, 20010220)
hpcmips:	MIPS based handheld PCs (mips, 19990925)
hpcsh:		Hitachi SuperH(TM) based handheld PCs (sh3, 20010117)
i386:		Intel/AMD etc. x86 processor line (i386, 19930321)
ibmnws:		IBM Network Station Thin Clients (powerpc, -)
iyonix:		Castle Technology xscale based workstations (arm, 20040713)
luna68k:	LUNA product line of OMRON Tateishi Electric (m68k, 20000105)
mac68k:		Apple Macintosh (m68k, 19930929)
macppc:		Apple Power Macintosh and clones (powerpc, 19980515)
mipsco:		MIPS Corp Magnum 3000 computers (mips, 20000812)
mmeye:		Hitachi SuperH(TM) computer controlled camera (sh3)
mvme68k:	Motorola's VMEbus 68K based single board computers (m68k, 19950725)
mvmeppc:	Motorola's VMEbus PowerPC based single board computers
		(powerpc, 20020227)
mvme88k:	Motorola's VMEbus 88K based single board computers (m88k, -)
netwinder:	StrongARM based Netwinder machines (arm, 20010609)
news68k:	Sony's m68k based NET WORK STATION (m68k, 19991209)
newsmips:	Sony's MIPS based NET WORK STATION (mips, 19980218)
next68k:	NeXT Computer's cubes and slabs (m68k, 19980609)
ofppc:		Open Firmware based PowerPC machines (powerpc, 19980528)
pdp10:		Digital PDP 10 emulators; a 9 bit byte, 36 bit word machine (pdp10, 20030831)
pc532:		"PC-532" kit computer, based on NS 32532 CPU (ns32k, 19930909)
playstation2:	Sony PlayStation 2 (mips, 20011016)
pmax:		Digital Equipment Corp. MIPS based machines (mips, 19931012)
pmppc:		Artesyn PMPPC card (powerpc, 20020531)
prep:		PowerPC Reference Platform machines (powerpc, 20000229)
sandpoint:	Motorola Sandpoint reference platform (powerpc, 20010211)
sbmips:		Broadcom's SiByte processor evaluation boards (mips, 20020306)
sgimips:	MIPS based Silicon Graphics machines (mips, 20000614)
shark:		Digital Network Appliance Reference Design ("Shark") (arm, 19960131)
sparc:		Sun Microsystems SPARC (sun4, sun4c, sun4m) 32 bit machines
		(sparc, 19931002)
sparc64:	Sun Microsystems UltraSPARC 64 bit machines (sparc64/sparc, 19980620)
sun2:		Sun m68010 based machines (m68k, 20010328)
sun3:		Sun m680[23]0 based machines (m68k, 19930625)
vax:		Digital Equipment Corp. VAX machines (vax, 19940802)
x68k:		Sharp X68000, X68030 (m68k, 19960505)
xen:		Xen virtual machine monitor (xen, 20040311)

Generic cpu features shared among multiple ports
arm:		ARM CPU based platform files
hppa:		Hewlett Packard PA-RISC CPU based platform files
m68k:		Motorola 680x0 CPU based platform files
mips:		MIPS CPU based platform files
powerpc:	PowerPC CPU based platform files
sh3:		Hitachi SuperH(TM) sh3 and sh4 CPU based platform files
sh5:		Hitachi SuperH(TM) sh5 CPU based platform files
sparc:		Sun Microsystems SPARC(TM) CPU based platform files
x86:		Intel x86 based platform files.

Generic architectural features shared among multiple ports
hpc:		Handheld PC reference platform files
sun68k:		Sun Microsystems Motorola 680x0 CPU based platform files

Single port cpu families
alpha:		Digital Equipment Alpha processor
m88k:		Motorola 88xxx CPU based platform files
ns32k:		National Semiconductor NS 32532 processor
pdp10:		Digital Equipment PDP 10 processor