summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
AgeCommit message (Collapse)Author
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-13On sparc, PAGE_SIZE and friends might not be a compile-time constant.Miod Vallat
Instead of using a homegrown set of variables in this case, rely on uvmexp fields once uvm has been initialized. This requires a few #include <uvm/uvm_extern.h> here and there in the kernel as well. Idea from art@, changes by me.
2002-02-20frantzen's stackghost code. wcookie is set at 0 right now, until debuggerTheo de Raadt
support added (i mean, written)
2002-02-19Provide PAGE_{MASK,SHIFT,SIZE} ``constants'' for every cpu combination.Miod Vallat
Fixes PR #2219
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-02-14__weak_alias() support.Federico G. Schwindt
2002-01-23compatability -> compatibility.Federico G. Schwindt
2001-12-19UBC was a disaster. It worked very good when it worked, but on someArtur Grabowski
machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience.
2001-12-11Remove declarations that already exist in <sys/conf.h>Miod Vallat
2001-12-10Define MCLBYTES from MCLSHIFT, rather than providing the final value.Miod Vallat
(sync with other arches)
2001-12-07kvm_recache is now unnecessary, simplify.Artur Grabowski
2001-12-07Remove pmap_cache_enable. it was a mistake.Artur Grabowski
2001-12-07splpmap -> splvmArtur Grabowski
2001-12-07Remove pmap_kenter_pgs leftovers.Artur Grabowski
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-12-04Yet another sync to NetBSD uvm.Artur Grabowski
Today we add a pmap argument to pmap_update() and allocate map entries for kernel_map from kmem_map instead of using the static entries. This should get rid of MAX_KMAPENT panics. Also some uvm_loan problems are fixed.
2001-11-30Now that pmaps can have vm_page_md, make pmap_physseg optional.Artur Grabowski
2001-11-28Make pmap_update functions into nops so that we can have a consistentArtur Grabowski
pmap_update API (right now it's nop).
2001-11-28pmap_kenter_pgs is not used and not really useful. remove.Artur Grabowski
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
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-01Change d_mmap in struct cdevsw from:Artur Grabowski
int (*d_mmap) __P((dev_t, int, int)); to: paddr_t (*d_mmap) __P((dev_t, off_t, int)); This allows us to mmap devices past 4GB offsets.
2001-09-28proper values for ieee rounding modes (from NetBSD)Jason Wright
2001-09-22Remove more old, dusty, unused defines.Miod Vallat
2001-09-16Add some missing lengths checks when passing data from userland toTodd C. Miller
kernel. From based on NetBSD patches.
2001-08-19Ooops. sparc always needs own protos.Artur Grabowski
2001-08-18Move pmap_{de,}activate to vm/pmap.h, it's same on all archs.Artur Grabowski
2001-08-17cdev_decl cleanup; jason@ okMichael Shalayeff
2001-08-11remove some old cruft.Artur Grabowski
2001-08-08__dead doesn't work on function pointers.Artur Grabowski
2001-08-08nuke __attribute__((__noreturn__)) when used in conjunction with __deadTodd C. Miller
2001-08-07unused, bye bye.Brad Smith
2001-07-25Change the pmap_enter interface to merge access_type and the wired booleanArtur Grabowski
and arbitrary flags into one argument. One new flag is PMAP_CANFAIL that tells pmap_enter that it can fail if there are not enough resources to satisfy the request. If this flag is not passed, pmap_enter should panic as it should have done before this change (XXX - many pmaps are still not doing that). Only i386 and alpha implement CANFAIL for now. Includes uvm updates from NetBSD.
2001-07-18Get rid of the PMAP_NEW option by making it mandatory for all archs.Artur Grabowski
The archs that didn't have a proper PMAP_NEW now have a dummy implementation with wrappers around the old functions.
2001-07-06change MSIZE to 256, okay @deraadtNiels Provos
2001-07-04$OpenBSD$Niklas Hallqvist
2001-06-27PMAP_NEW is no longer an option on sparc.Artur Grabowski
2001-06-27IPF cleanup; openbsd@davidkrause.comAngelos D. Keromytis
2001-06-27MNN is no longer an option.Artur Grabowski
2001-06-24Define splvm() for arches who don't already provide it, with the sameMiod Vallat
definition as splimp(). art@ ok
2001-06-10Art error #2Theo de Raadt
2001-06-08Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface toArtur Grabowski
boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *). Matches NetBSD. Tested by various people on various platforms.
2001-05-10Switch sparc to PMAP_NEW. I've been running with that code for ages.Artur Grabowski
2001-05-09More sync to NetBSD.Artur Grabowski
- Change pmap_change_wiring to pmap_unwire because it's only called that way. - Remove pmap_pageable because it's seldom implemented and when it is, it's either almost useless or incorrect. The same information is already passed to the pmap anyway by pmap_enter and pmap_unwire.
2001-05-06Update some comments wrt. the CLSIZE changes.Artur Grabowski
And remove that memory price comment from 1981. It is amusing, but also confusing because the math in there is only correct on vax.
2001-05-05Rename configure() to cpu_configure().Artur Grabowski
Move it from cpu_startup() to main().
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
2001-03-02add #define __STRICT_ALIGNMENTJason Wright