NetBSD/sys/arch
manu 26200ee754 In MacOS X.3, the kernel maps tw opages of memory in every user process.
This areas is called the comm pages. It is used to provide fast access to
several data and functions.

The comm pages are mapped starting at 0xffff800 (address chosed so that
absolute branch can be used, so it can be accessed even when dynamic linking
is not ready). NetBSD has the user stack here, so we need to provide a
Darwin-specific stack setup routine which sets the top of the stack at
0xbfff0000.

This implementation is not complete but it does enough to get MacOS X.3
starting again (static binaries run, dynamic binaries still have an issue).
in the comm pages functions, we only implement bcopy, pthread_self and
memcpy.

TODO:
- clean up the powerpc specific code from MD parts
- for now we map only one page to avoid a crash, we want two pages.
- write all the comm functions.
2004-07-03 00:14:30 +00:00
..
acorn26 Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
acorn32 just include <sys/joystick.h> 2004-07-02 17:15:10 +00:00
algor Factor out W{CHAR,INT}_{MAX,MIN} into their own header file. 2004-05-08 21:51:47 +00:00
alpha Actually initialize the direct-mapped DMA window, which is clearly not set up 2004-07-02 19:54:22 +00:00
amd64 add a <machine/joystick.h> which just includes the new common one 2004-07-02 17:02:24 +00:00
amiga Regen, added P1003_1B_SEMAPHORE. 2004-06-28 21:09:22 +00:00
amigappc Add the %MAKEOPTIONSAPPEND token at the end of the file, after the 2004-06-04 04:45:49 +00:00
arc just include <sys/joystick.h> 2004-07-02 17:15:10 +00:00
arm Implement software reset by means of watchdog timer. 2004-06-22 11:18:32 +00:00
atari Regen, added P1003_1B_SEMAPHORE. 2004-06-28 21:09:22 +00:00
bebox Repair operand constraints in delay(). 2004-06-29 16:21:16 +00:00
cats just include <sys/joystick.h> 2004-07-02 17:15:10 +00:00
cesfic Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
cobalt Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
dreamcast Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
evbarm just include <sys/joystick.h> 2004-07-02 17:15:10 +00:00
evbmips Factor out W{CHAR,INT}_{MAX,MIN} into their own header file. 2004-05-08 21:51:47 +00:00
evbppc Move include of files.usb to after files.wscons, so that tpcalib is 2004-06-24 18:32:38 +00:00
evbsh3 Factor out W{CHAR,INT}_{MAX,MIN} into their own header file. 2004-05-08 21:51:47 +00:00
evbsh5 Factor out W{CHAR,INT}_{MAX,MIN} into their own header file. 2004-05-08 21:51:47 +00:00
hp300 Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
hp700 Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
hpc add HPW200EC entry. 2004-06-28 14:43:42 +00:00
hpcarm Add the %MAKEOPTIONSAPPEND token at the end of the file, after the 2004-06-04 04:45:49 +00:00
hpcmips add KLOADER 2004-07-02 03:58:58 +00:00
hpcsh enable X-window configuration default. 2004-07-02 18:05:23 +00:00
hppa clear pcb_onfault before calling uvm_fault() and restore it after. 2004-06-15 16:29:32 +00:00
i386 just include <sys/joystick.h> 2004-07-02 17:15:10 +00:00
ibmnws Add (commented out) ALTQ options to all GENERIC-like files 2004-06-26 07:32:05 +00:00
luna68k Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
m68k "panicking" needs a k. 2004-05-16 15:44:10 +00:00
mac68k Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
macppc Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
mips Fix a precedence problem setting uc_flags. 2004-07-02 12:32:16 +00:00
mipsco Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
mmeye Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
mvme68k Add (commented out) ALTQ options to all GENERIC-like files 2004-06-26 07:32:05 +00:00
mvmeppc In the delay loop, mark the scratch register as earlyclobber. 2004-06-29 12:01:11 +00:00
netwinder just include <sys/joystick.h> 2004-07-02 17:15:10 +00:00
news68k Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
newsmips Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
next68k Add (commented out) ALTQ options to all GENERIC-like files 2004-06-26 07:32:05 +00:00
ofppc In the delay loop, mark the scratch register as earlyclobber. 2004-06-29 12:01:11 +00:00
openblocks405
pc532 We don't need to announce to the world when setstatclockrate() is called... 2004-06-29 08:12:20 +00:00
pdp10 Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
playstation2 Add (commented out) ALTQ options to all GENERIC-like files 2004-06-26 07:32:05 +00:00
pmax Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
pmppc In the delay loop, mark the scratch register as earlyclobber. 2004-06-29 12:01:11 +00:00
powerpc In MacOS X.3, the kernel maps tw opages of memory in every user process. 2004-07-03 00:14:30 +00:00
prep just include <sys/joystick.h> 2004-07-02 17:15:10 +00:00
sandpoint In the delay loop, mark the scratch register as earlyclobber. 2004-06-29 12:01:11 +00:00
sbmips Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
sgimips Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
sh3 defparam HZ. 2004-07-01 12:44:26 +00:00
sh5 Reflect <sys/endian.h> rev. 1.4: make htonl() et al. arguments and 2004-06-10 16:01:39 +00:00
shark just include <sys/joystick.h> 2004-07-02 17:15:10 +00:00
sparc Avoid unnecessary stores of discarded values. 2004-07-01 10:23:41 +00:00
sparc64 _bus_dmamap_load_mbuf: check and process pmap_extract failure. 2004-07-02 07:39:07 +00:00
sun2 Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
sun3 Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
sun68k Rearrange process exit path to avoid need to free resources from different 2004-01-04 11:33:29 +00:00
vax Tidy up the namespace: lint -> __lint__. 2004-07-01 22:52:34 +00:00
x68k Add options P1003_1B_SEMAPHORE 2004-06-28 21:07:47 +00:00
x86 Ahem. Parts of this are *clearly* derived from the old i386/isa/intr.c, so 2004-07-02 16:05:57 +00:00
xen Add (commented out) ALTQ options to all GENERIC-like files 2004-06-26 07:32:05 +00:00
Makefile ``build.sh -m xen-i386 release'' now builds a release for NetBSD/xen 2004-05-12 16:56:41 +00:00
README Add port to the Xen virtual machine monitor. 2004-03-11 21:44:08 +00:00

$NetBSD: README,v 1.34 2004/03/11 21:44:08 cl 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)
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, -)
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 NET WORK STATION (m68k, 19991209)
newsmips:	Sony's NET WORK STATION (mips, 19980218)
next68k:	NeXT Computer's cubes and slabs (m68k, 19980609)
ofppc:		Open Firmware based PowerPC machines (powerpc, 19980528)
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 architectural features shared among multiple ports
arm:		ARM CPU based platform files
hpc:		Handheld PC reference platform files
hppa:		Hewlett Packard PA-RISC CPU based platform files
m68k:		Motorola 680x0 CPU based platform files
m88k:		Motorola 88xxx 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
sun68k:		Sun Motorola 680x0 CPU based platform files