summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/include
AgeCommit message (Collapse)Author
2005-11-07remove vtophys() on *ppc.Brad Smith
ok drahn@
2005-10-21Clean up RTC code.Mark Kettenis
ok drahn@
2005-10-09Provide a machdep sysctl to determine if altivec is avaliable on macppcDale Rahn
2005-10-09Nearly functional crashdump support for macppc. Because savecoreDale Rahn
does not recognize the resulting crashdumps, the writing has been disabled. Better here than in my forest of trees.
2005-09-12Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bitMiod Vallat
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime.
2005-06-08Remove the bus_reverse field out of the powerpc bus structure, originallyDale Rahn
it was there so that big endian and little endian devices could both be present, however that is not the case on the macppc machines. Cleans up code, shrinks the kernel. ok deraadt@
2005-05-23loose is not lose. ok deraadt tdeval and a few more typos from jfbTed Unangst
2005-04-11use MD #define to choose stackgap size per-architecture. on sparc, specialTheo de Raadt
case sun4c/sun4 -- because address space is more constrained
2004-11-28MAXSLP is not really an MD-configurable define so move it to param.h; miod@ ↵Michael Shalayeff
testing
2004-11-10Remove __cplusplus crud.Alexander Yurchenko
2004-06-24Do a better job at containing powerpc specific #defines to PPC_...Dale Rahn
ok deraadt@
2004-06-14de-__PTheo de Raadt
2004-01-23Crank SHMMAXPGS to 32mb; deraadt@ OK for all, drahn@ OK for macppc + pegasosTodd C. Miller
2004-01-22These files went dangling long time ago, actually...Miod Vallat
2003-10-08Fix endian bug in macppc bus_space_set_region_N(). ok miod@Dale Rahn
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-08-21These files were intended for X11 support, but serve no purpose nowadays,Miod Vallat
as sparc* do not use Xsun-compatible event interface anymore, and alpha only used this for Xtga which we do not ship anymore. Discussed long ago with matthieu@
2003-06-23bus_space_*_raw*_1() do not exist; drahn@ okMichael Shalayeff
2003-06-09more 3/4 cleanup for pefoTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-10-07Improved workaround for cardbus support on macppc. This allows mappings toDale Rahn
be put in the cardbus register which really work instead of crashing the machine. if_dc @cardbus now works, xl@cardbus will configure, but does not work properly (endian?) wdc should work fine, but has not been tested recently.
2002-09-15backout prematureTheo de Raadt
2002-09-15KNFTheo de Raadt
2002-09-06Serial console support for macppc. Serial console will work if the modemDale Rahn
has been replaced with a serial port adapter on any machine that has a real serial port internally. This will also power on the internal modem for keylargo based machines (tested on original PBG4) when the serial port is open. ok miod@
2002-08-20Add a pseudo openfirmware console device for early debugging purposesDale Rahn
and to allow UKC to work properly. ok miod@
2002-07-23Remove unused files now that powerpc archs use link_elf.hDale Rahn
2002-07-23Cardbus/pcmcia support for macppc. parts borrowed from NetBSD, and otherDale Rahn
portions of the tree.
2002-07-10proper cdev_decl(crypto) and no private protosMichael Shalayeff
2002-06-11Add missing bus_space_read_raw_region_X bus_space_write_raw_region_X APIs.Dale Rahn
2002-06-08One ddb to rule them all.Miod Vallat
Move the ddb files form macppc/macppc to powerpc/ddb, so that mvmeppc can benefit from the better ddb that was in macppc. db_interface.c is left as an md part.
2002-06-08Factorize common parts (cache-related stuff).Miod Vallat
ok drahn@
2002-06-07Move more function prototypes to <machine/conf.h> as cdev_decl(foo)Miod Vallat
for safety.
2002-05-18Rename the MD db_stack_trace_cmd to db_stack_trace_print. Add an argumentArtur Grabowski
that specifies which printf funciton it should use. Implement db_stack_trace_cmd in MI code. Thanks to miod@ for all the tests.
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-13Complete rewrite of the powerpc pmap handling, Instead of keepingDale Rahn
the spill list for each PTEG, the V->P translations are stored in trees for each pmap. All valid kernel mappings are preallocated in 1-1 memory so that tlb spill/loads for kernel accesses can be looked up while physical, user mappings are not guaranteed to be 1-1 mapped, thus the kernel must go virtual to look up user mappings. While this is more expensive, the tree search is much lower cost than the long linked list search. Also on each pmap_remove() it was necessary to search the linked lists for each possible mapping, now it just looks up the entry in the tree. This change gives a 25-36% speedup in 'make build' time. What was around 2:50 is now around 1:55 on a 733MHz G4. This change causes a likely existing bug to appear quite often, it deals with the segment register invalidation in kernel mode. Because of that problem, currently this change limits the physical memory used to 256MB. This limitation will be fixed soon, it is not an error in the pmap code. * Effort sponsored in part by the Defense Advanced Research Projects * Agency (DARPA) and Air Force Research Laboratory, Air Force * Materiel Command, USAF, under agreement number F30602-01-2-0537.
2002-03-07Clean up BUS_DMA_* flags, and make sure all arch's define:Jason Wright
BUS_DMA_READ, BUS_DMA_WRITE, and BUS_DMA_STREAMING
2002-02-23Add aperture driver support for macppc, and also place writing to /dev/pciMatthieu Herrb
under the control of machdep.allowaperture. This allows to run the X server on macppc with securelevel=1, given that machdep.allowaperture is != 0. OK deraadt@
2002-02-17Patch from Daniel Lucq <daniel@lucq.org>Mats O Jansson
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT and NKMEMPAGES using the config command, instead of recompiling the kernel. This is the kernel part of the patch. I have compiled it on i386, sparc64, alpha and macppc. -moj ok art@ maja@
2002-01-07Paranoia on my part, do not let the condition exist where kvm space couldDale Rahn
be claimed by the pre kvm init stealing process and kvm.
2002-01-07On cache flushing, if start is not cacheline aligned, add to the lenghtDale Rahn
to make sure the whole region is flushed. from conversation with pefo.
2001-12-14gem wants BUS_DMA_READ define.Dale Rahn
2001-12-12add /dev/crypto supportJason Wright
2001-12-05Put back to the old KMEM size, until we can increase this and have it workDale Rahn
on large memory machines.
2001-12-05VM_KMEM_SIZE no longer needed.Artur Grabowski
2001-12-05make nkmempages dynamic based on memory. okay art@ from netbsd:Niels Provos
date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl. NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file.
2001-11-30Now that pmaps can have vm_page_md, make pmap_physseg optional.Artur Grabowski
2001-11-06Let fork1, uvm_fork, and cpu_fork take a function/argument pair as argument,Artur Grabowski
instead of doing fork1, cpu_set_kpc. This lets us retire cpu_set_kpc and avoid a multiprocessor race. This commit breaks vax because it doesn't look like any other arch, someone working on vax might want to look at this and try to adapt the code to be more like the rest of the world. Idea and uvm parts from NetBSD.
2001-11-06Kill vm/vm_param.h, move it to uvm/uvm_param.hArtur Grabowski