NetBSD/sys/arch/powerpc
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
..
conf Add the %MAKEOPTIONSAPPEND token at the end of the file, after the 2004-06-04 04:45:49 +00:00
fpu Make the "cond" variable an unsigned variable. Stops sign extension 2004-03-30 00:04:37 +00:00
ibm4xx Update for new pci_devinfo(9) signature. 2004-04-24 15:49:00 +00:00
include In MacOS X.3, the kernel maps tw opages of memory in every user process. 2004-07-03 00:14:30 +00:00
isa Add powerpc-specific isa and isadma machdep code. (Merge common code from 2003-10-19 03:19:32 +00:00
marvell Fix softnet intr handling (to be like the generic ppc softintr). 2004-06-01 00:49:41 +00:00
oea On OEA, turn PSL_USER* into runtime values appropriate for the CPU model 2004-06-26 21:48:30 +00:00
powerpc Get rid of the silly CPU601 hooks and move BAT register restoration and 2004-06-09 23:24:51 +00:00
tools/chrpicon __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
Makefile Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea). 2003-02-03 17:09:53 +00:00