summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/param.h
Commit message (Collapse)AuthorAgeFilesLines
* Drop _MACHINE_ARCH and _MACHINE defines (not to be confused withru2005-12-061-7/+0
| | | | | | | MACHINE_ARCH and MACHINE). Their purpose was to be able to test in cpp(1), but cpp(1) only understands integer type expressions. Using such unsupported expressions introduced a number of subtle bugs, which were discovered by compiling with -Wundef.
* Remove UAREA_PAGES.das2004-11-201-1/+0
| | | | Reviewed by: arch@
* <machine/pte.h> has no business being here. Finally exposed by F77 buildgrehan2004-04-211-2/+0
| | | | failure.
* Cleaned up param.h:grehan2004-02-111-30/+0
| | | | | | | | | | | - culled long-dead #define's - segment register defs moved to sr.h - NPMAPS moved to pmap.h - KERNBASE moved to vmparam.h - removed include of <machine/cpu.h> and fixed src files that relied on this. Modifying segment register code no longer causes gcc rebuilds :-)
* _MACHINE/_MACHINE_ARCH shouldn't be quoted. Found by trying togrehan2003-09-241-2/+2
| | | | compile the isp driver.
* Deal with 'options KSTACK_PAGES' being a global option.peter2003-07-311-2/+2
|
* Migrate the thread stack management functions from the machine-dependentalc2003-06-141-1/+1
| | | | | | | | | | | | | | | | to the machine-independent parts of the VM. At the same time, this introduces vm object locking for the non-i386 platforms. Two details: 1. KSTACK_GUARD has been removed in favor of KSTACK_GUARD_PAGES. The different machine-dependent implementations used various combinations of KSTACK_GUARD and KSTACK_GUARD_PAGES. To disable guard page, set KSTACK_GUARD_PAGES to 0. 2. Remove the (unnecessary) clearing of PG_ZERO in vm_thread_new. In 5.x, (but not 4.x,) PG_ZERO can only be set if VM_ALLOC_ZERO is passed to vm_page_alloc() or vm_page_grab().
* Define _MACHINE.jmallett2002-10-051-1/+1
|
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-171-7/+0
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Move MI stuff out of MD param.h files.phk2002-05-141-48/+0
| | | | It can all still be overridden in the MD files should need suddenly arise.
* Remove the unused definitions of ctod() and dotc().phk2002-05-141-4/+0
|
* Increase the size of the kstack.benno2002-05-101-1/+1
|
* Complete rework of the PowerPC pmap and a number of other bits in the earlybenno2002-02-141-1/+5
| | | | | | | | | | | | | | boot sequence. The new pmap.c is based on NetBSD's newer pmap.c (for the mpc6xx processors) which is 70% faster than the older code that the original pmap.c was based on. It has also been based on the framework established by jake's initial sparc64 pmap.c. There is no change to how far the kernel gets (it makes it to the mountroot prompt in psim) but the new pmap code is a lot cleaner. Obtained from: NetBSD (pmap code)
* Update PowerPC MD code to compile and do initial bootstrap based onmp2001-09-201-2/+5
| | | | | | recent changes (KSE and VM requiring physmem to be setup). Reviewed by: benno, jhb, julian
* This commit (along with one pending in sys/dev/ofw and one in sys/conf) givebenno2001-06-161-3/+27
| | | | | | | | | | | | | us our first minimal glimpse of PowerPC support. With this code we can get to the "mountroot>" prompt on my Apple iMac. We can't get any further due to lack of clock and interrupt handling, among other things. This does however mean that pmap and VM are initialising. We're fairly dependant on OpenFirmware at this point, but I hope to add support for other classes of firmware at a later stage. Reviewed by: obrien, dfr
* PowerPC platform-specific definitions (modeled on sys/i386/include/param.h)obrien2001-01-021-0/+175
OpenPOWER on IntegriCloud