summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
AgeCommit message (Collapse)Author
2002-09-10Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page *Artur Grabowski
instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code. This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes. deraadt@ miod@ drahn@ ok.
2002-08-09Add an explicit dependancy of assym.h to Makefile.Miod Vallat
This makes sure it will be regenerated if you run config(8) again.
2002-07-30Add SIZE_MAX define. This is the same as SIZE_T_MAX but more portable.Todd C. Miller
The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX (which we already have). deraadt@ OK
2002-07-20Instead of copying out the signal trampoline on top of the stack, createArtur Grabowski
an uvm aobj, copy out the signal trampoline into it and share that page among all processes for the same emulation. This also requires us to actually be able to tell signal code where the trampoline is located, so introduce a new field in struct proc - p_sigcode that is a pointer to sigcode. This allows us to remove all the ugly calculations of the signal trampoline address done in every sendsig function in the tree (that's why so many files are changed). Tested by various people. ok deraadt@
2002-07-15repair tags building (due to obj dirs in /sys)Michael Shalayeff
2002-07-10proper cdev_decl(ksyms), fix ksyms's broken functionsMichael Shalayeff
2002-07-10'sez' is not an english word; ok deraadt@Jason Peel
2002-06-22Add ${PIPE} to CFLAGSTodd C. Miller
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-12cnputc() will take care of the necessary cr->cr/lf translation, so don'tMiod Vallat
do it in those consoles either.
2002-06-11cnputc() routines are void, not int.Miod Vallat
2002-06-10add __weak_alias define; miod@ okFederico G. Schwindt
2002-06-07Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@Thomas Nordin
2002-06-04spelling; raj@cerias.purdue.eduTheo de Raadt
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-05-16Add systrace support to all the remaining architectures.Miod Vallat
Tested by various people on various platforms, I'm willing to fix any breakage this causes. ok niels@ deraadt@ and mickey@ (after his comments were applied)
2002-05-16Add a an argument to db_printsym that specifies the printf functionArtur Grabowski
we'll use for printing the information. miod@ ok
2002-05-07Spring pmap cleaning:Miod Vallat
- update and fix comments - clean the batc code (still not used by default) - there was some KNF left to do - fix incorrect locking behaviour in pmap_remove_all() - fix incorrect pmap_remove_range() call which would cause the kernel to enter an infinite loop sometimes at shutdown - fix an off-by-one page loop in pmap_protect() This should bring the extra bits of stability I need to resume working on the compiler...
2002-04-29Define placeholders for art's splassert() debugging stuff on all arches.Miod Vallat
Currently as no-ops everywhere. ok art@, deraadt@
2002-04-28Use the prototypes defined via cdev_decl() macros, instead of rolling ourMiod Vallat
own; thus fix a lot of foo_open(), foo_close() and foo_ioctl() prototypes in the process.
2002-04-28More dead beef here.Miod Vallat
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-26Honor psratio for addupc_task(), as other arches do.Miod Vallat
2002-03-25Gremlins always escape when you commit from the bad tree. An extra semicolonMiod Vallat
this time.
2002-03-23mvme88k varargs cleanup 2/2Miod Vallat
2002-03-23Add variables for config(8) -e time tweak of systemV shared memoryMarc Espie
parameters. Ok millert@, miod@, maja@
2002-03-23Repair.Miod Vallat
2002-03-15Cosmetic changes only, primarily making comments line up nicely after theTodd C. Miller
__P removal.
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-14Remove PTRACE support out of the ramdisks/miniroots.Miod Vallat
2002-03-14Turn the ptrace(2) syscall into a kernel compile option, option PTRACE inMiod Vallat
your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks.
2002-03-05Kill prom stuff duplicates from bugio.[ch].Miod Vallat
2002-02-19proper dependencies on assym.hTheo de Raadt
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-15Don't cast nonexistent return value from splx to (void). ok art@Thomas Nordin
2002-02-10spellingTheo de Raadt
2002-02-05Remove dead code, simplify a panic message.Miod Vallat
2002-02-05I wonder how those two were not commited among the "volatile police" twoMiod Vallat
weeks ago.
2002-02-05- factorize insane amounts of codeMiod Vallat
- do not do some paranoid sanity checks unless #ifdef DIAGNOSTIC - remove some of the less-usefull, most screen-eating debug information - and fix a few typos in the process. This pmap is slowly starting to have a decent looking shape... Really.
2002-02-05Provide a definition for pmap_wired_count.Miod Vallat
2002-01-23move mb_map allocation to mbinit()Artur Grabowski
2002-01-23move definition of mb_map from zillions of machdep.c to uipc_mbuf.cArtur Grabowski
2002-01-23Pool deals fairly well with physical memory shortage, but it doesn't dealArtur Grabowski
well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it.
2002-01-21Argh, correctly handle the maxlen == 0 case.Miod Vallat
2002-01-21Always clear the destination string in copyinstr() on error, unless we faultedMiod Vallat
when writing to the first character.
2002-01-16Don't include <sys/map.h> when you don't need what's in it.Miod Vallat
2002-01-14volatile police.Miod Vallat
2002-01-12Not used.Miod Vallat
2002-01-10Replace asm statements with stuff from asm*.h, or even simple equivalentMiod Vallat
C statements. As a bonus this gets rid of the incorrect gcc 2.95 warnings in machdep.c