Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-08-09 | typo | Michael Shalayeff | |
2002-08-09 | two more cacheops noops; miod@ ok | Michael Shalayeff | |
2002-07-30 | Add 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-20 | Instead of copying out the signal trampoline on top of the stack, create | Artur 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-06-04 | spelling; raj@cerias.purdue.edu | Theo de Raadt | |
2002-06-02 | Implement PMAP_CANFAIL handling for m68k shared pmap module. | Miod Vallat | |
2002-05-18 | Rename the MD db_stack_trace_cmd to db_stack_trace_print. Add an argument | Artur 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-29 | I want option DEBUG to rock my world. | Miod Vallat | |
(and that means it should compile, for starters) | |||
2002-04-27 | Jumbo commit to fix all compilation warnings on mvme68k (add prototypes, | Miod Vallat | |
add casts, fix a few errors and typos in the process, etc) | |||
2002-04-25 | Factorize more common m68k definitions. | Miod Vallat | |
2002-04-24 | Introduce a new file, machine/internal_types.h, to hold that specific arch | Marc 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-04-16 | - allow users of pmap_bootstrap to not have virtual address 0 read only, | Miod Vallat | |
mac68k needs this for now - update comments to reflect that code, if invoked carefully, can work with the MMU enabled. | |||
2002-04-16 | Merge pmap_pinit() inside pmap_create() and pmap_release() inside | Miod Vallat | |
pmap_destroy(). | |||
2002-03-14 | Final __P removal plus some cosmetic fixups | Todd C. Miller | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-03-14 | Turn the ptrace(2) syscall into a kernel compile option, option PTRACE in | Miod 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-02-27 | Better values for invalid pte initialization. | Miod Vallat | |
2002-02-23 | Factorize most of the pmap_bootstrap() guts used by pmap_motorola users, | Miod Vallat | |
with a few hooks to cope with each architecture's specifics. The new arch/m68k/m68k/pmap_bootstrap.c is not a standalone file, but will be #included by the existing pmap_bootstrap.c code. Tested on hp300 and mvme68k, mac68k coming soon. amiga will be left out for now because it is a bit too different. | |||
2002-02-11 | only change _STRING for weak_alias; sorry miod. | Federico G. Schwindt | |
2002-02-11 | o add __weak_alias definition. | Federico G. Schwindt | |
o _STRING -> __STRING o empty definitions if !__GNUC__ miod@ testing and ok. | |||
2002-01-23 | compatability -> compatibility. | Federico G. Schwindt | |
2002-01-23 | Pool deals fairly well with physical memory shortage, but it doesn't deal | Artur 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-21 | Argh, correctly handle the maxlen == 0 case. | Miod Vallat | |
2002-01-21 | Always clear the destination string in copyinstr() on error, unless we faulted | Miod Vallat | |
when writing to the first character. With some help from millert@. | |||
2002-01-10 | Reintroduce the pmap_motorola framework. | Miod Vallat | |
2001-12-20 | Temporarily revert the pmap_motorola changes, as they may account for | Miod Vallat | |
some problems as well. Requested by deraadt@ | |||
2001-12-16 | Delay a cache invalidation in a 68060-only loop. | Miod Vallat | |
Also, better tests for validity bits in STEs. | |||
2001-12-16 | 68060 CPUs need a few more TLB operations. Oops. | Miod Vallat | |
2001-12-15 | Optimize (reduce) the pmap_changebit() calls for 68060 processors. | Miod Vallat | |
2001-12-15 | Slightly reorganize. | Miod Vallat | |
2001-12-14 | Remove the ugly protection_codes[] array, only used by the pte_prot() | Miod Vallat | |
macro, by a different version of the aforementioned macro. | |||
2001-12-12 | At Miod's request make the pte in pmap_extract() a pt_entry_t * for | Todd C. Miller | |
consistency with the rest of pmap. Also, use pmap_pte_pa() in pmap_extract() instead of doing the equivalent inline. No functional difference, just style... | |||
2001-12-12 | Don't return TRUE from pmap_extract if the pte is not valid. | Todd C. Miller | |
From art@ as munged by me. | |||
2001-12-11 | Repair 68060 operation; from art@ and myself, spell-checked by deraadt@. | Miod Vallat | |
2001-12-08 | m68k_trunc_page -> trunc_page | Miod Vallat | |
2001-12-08 | Sprinkle pmap_update calls where relevant and some other | Artur Grabowski | |
misc pmap usage fixes. | |||
2001-12-06 | DDB disassembly fixes and trace improvements from NetBSD. | Miod Vallat | |
2001-12-06 | Don't hardcode SYS_exit value. | Miod Vallat | |
2001-12-06 | Declare SYS_exit for all m68k locore.s'es | Miod Vallat | |
2001-12-06 | Define proper macros for FP frame offsets rather than magic numbers. | Todd C. Miller | |
From NetBSD (tsutsui). | |||
2001-12-06 | Fix typos, from NetBSD | Miod Vallat | |
2001-12-05 | Update pmap_update macro for arches Art missed. Still just a noop. | Todd C. Miller | |
2001-12-02 | 1) kill old vm_*_t types (no real effect) | Todd C. Miller | |
2) Change flag in uvm_km_suballoc() from VM_MAP_PAGEABLE to 0 3) Pass pmap_extract the address of Segtabzeropa, not Segtabzeropa itself | |||
2001-11-30 | Factorize more definitions to enable the use of pmap_motorola. | Miod Vallat | |
2001-11-30 | Common pmap defines and code for all m68k platforms using Motorola (or | Miod Vallat | |
compatible) MMU. | |||
2001-11-25 | Need <machine/cpu.h> to be sure to bring userret() prototype for all ports. | Miod Vallat | |
2001-11-25 | Be cross-compilation friendly. | Miod Vallat | |
2001-11-25 | Harmonize userret() prototypes across m68k arches. | Miod Vallat | |
XXX The userret() code is not factorized out yet, as this will require XXX insane amiga cleaning work. | |||
2001-11-21 | Provide COMPAT_SUNOS files via the common m68k configuration files. | Miod Vallat | |
2001-11-17 | put more common stuff into m68k/genassym.cf; miod@ ok | Michael Shalayeff | |