Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-26 | Zero rval[1] in setregs. | Miod Vallat | |
2007-02-19 | only make this interface available to the kernel for now, discussed witha | Theo de Raadt | |
rt and such; tested and ok miod drahn | |||
2007-02-17 | If we __HAVE_PMAP_DIRECT, handle these mappings in pmap_extract(). | Miod Vallat | |
2007-02-17 | In pmap_collect(): | Miod Vallat | |
- do not bother checking for pmap_kernel() and operating on it, as pmap_collect() will not be invoked for P_SYSTEM process. - preserve wired pages while purging. | |||
2007-02-06 | Add machine/atomic.h to all architectures and define two operations | Artur Grabowski | |
right now that are supposed to be atomic with respect to interrupts and SMP: atomic_setbits_int and atomic_clearbits_int. All architectures other than i386 and amd64 get dummy implementations since at first we'll be replacing operations that are done with "a |= bit" and "a &= ~bit" today. More proper implementations will follow kettenis@, miod@ ok | |||
2007-02-05 | Oops, forgot to commit these files when adding md mutex code; spotted by nick@ | Miod Vallat | |
2007-02-03 | Simple single-processor mutex implementation, simpler than the MI code by | Miod Vallat | |
use of MD spl code bowels. No functional change. | |||
2007-01-28 | optimize m68k writeback(): | Miod Vallat | |
- it can really only be invoked from trap(), not from other userret() callers, so it is safe to hardcode its docachepush parameter to 1. - use pmap_kenter_pa()/pmap_kremove() for the temporary mapping instead of pmap_enter()/pmap_remove(). optimize m68k userret(): - define PROC_PC for m68k systems. - only check want_resched when processing T_ASTFLT traps. - provide two version of userret(), one which will also invoke writeback() on 68040 if required, which is only invoked from trap(), and regular userret(). This speeds up system call returns. | |||
2006-11-30 | s/completly/completely/ | Michael Knudsen | |
ok brad | |||
2006-11-29 | Remove MAPPEDCOPY. It does not work and I am not convinced it is worth | Miod Vallat | |
fixing. | |||
2006-08-22 | Implement pmap_steal_memory() if HAVE_PMAP_DIRECT; no change except for | Miod Vallat | |
faster uvm initialization. | |||
2006-07-09 | Make this compile on platforms which define __HAVE_PMAP_DIRECT. | Miod Vallat | |
2006-07-06 | PMAP_MD_RWLOW kluge is no longer necessary now that mac68k does TRT. | Miod Vallat | |
2006-06-24 | Add pmap_enter_cache(), similar to pmap_kenter_cache() but for managed | Miod Vallat | |
pages, and implement pmap_enter() as a particular case of it. | |||
2006-06-20 | Fix PMAP_DEBUG-only tests I botched in revision 1.13. | Miod Vallat | |
2006-06-17 | Introduce pmap_kenter_cache(), similar to pmap_kenter_pa() but allowing | Miod Vallat | |
the pte cache bits to be specified. Will be used very soon. | |||
2006-06-12 | Oops, typo | Miod Vallat | |
2006-06-11 | Protect a variable only used for the HP MMU if #ifdef M68K_MMU_HP blocks. | Miod Vallat | |
2006-06-11 | Move common prototypes to <m68k/{cpu,param}.h> instead of incomplete | Miod Vallat | |
declarations in <machine/{cpu,param}.h> and elsewhere. | |||
2006-06-11 | Factorize spl handling functions and software interrupt routines between | Miod Vallat | |
m68k-based platforms. | |||
2006-06-11 | Move pmap_aliasmask declaration and initialization to MD code. No functional | Miod Vallat | |
change. | |||
2006-06-11 | Use bracketed include paths. | Miod Vallat | |
2006-06-07 | Pass M_CANFAIL to malloc() in sendsig(), and if it fails, kill the process; | Miod Vallat | |
this is better than panic'ing due to low memory condition. | |||
2006-04-16 | Change child_return() to record a proper ktrace record for vfork child | Miod Vallat | |
processes. ok art@ uwe@ (some time ago, and I forgot to commit this chunk) | |||
2006-04-09 | #ifdef lint wraps for va_start | Theo de Raadt | |
2006-03-19 | remove unused bdbtofsb(bn) macro | Martin Reindl | |
found by drahn@ | |||
2006-02-22 | Remove unused _{ins,rem}que functions - they were not even implemented on | Miod Vallat | |
all architectures. | |||
2006-01-30 | Better siginfo field values for fpe failures. | Miod Vallat | |
2006-01-16 | Sync m68k fpe code with NetBSD; but remove unimplemented opcodes stubs, so | Miod Vallat | |
that we trigger SIGILL instead of propagating false results. Tested by martin@ on Macintosh LCIII. | |||
2006-01-16 | Correctly define extended doubles, the way the 6888x use them; from NetBSD. | Miod Vallat | |
2006-01-13 | Make size_t, ssize_t, intptr_t and uintptr_t consistent amongst our | Todd C. Miller | |
architectures. They are now defined as unsigned long, long, long and unsigned long respectively. | |||
2006-01-10 | Remove duplicate _C_LABEL define. OK miod@ | Todd C. Miller | |
2006-01-08 | Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2 | Todd C. Miller | |
2006-01-06 | Don't redefine SIZE_MAX | Todd C. Miller | |
2006-01-06 | Adapt things to use __type_t instead of _BSD_TYPE_T_ | Todd C. Miller | |
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable | |||
2006-01-06 | Merge machine/ansi.h and machine/types.h into machine/_types.h and | Todd C. Miller | |
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD. | |||
2006-01-05 | don't include sys/errno.h, pointed out by Miod | Martin Reindl | |
2006-01-04 | Switch to the C version of random() on m68k platforms. It is almost as fast | Miod Vallat | |
as the assembly version on 0[234]0, but *fifteen* times faster than it on 68060 systems, since it uses a form of muls.l which has to be emulated. And since we use random() for statclock variance, this means we were gratuitously doing an average of 100 emulation traps per second. ok deraadt@ millert@ | |||
2005-12-17 | Get rid of deprecated vm_{offset,size}_t types for good, use {p,v}{addr,size}_t | Miod Vallat | |
instead; looked at millert@ | |||
2005-12-14 | make va_arg() map to nothing; ok millert | Theo de Raadt | |
2005-12-14 | convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@ | Todd C. Miller | |
2005-12-14 | Make clock_t consistent across platforms as a 32 bit int. OK deraadt@ | Todd C. Miller | |
2005-12-13 | nuke unused BTOPKERNBASE define | Martin Reindl | |
pointed out by miod@ | |||
2005-12-13 | First step in include files overhaul. Use __FOO_VISIBLE (as defined | Todd C. Miller | |
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@ | |||
2005-12-08 | Remove unused pcbb define. | Miod Vallat | |
2005-11-24 | add lint-specific hacks. at the same time, clean out a lot of ancient | Theo de Raadt | |
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others | |||
2005-11-15 | Only two `h' in threshold. | Miod Vallat | |
2005-11-13 | move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@ | Federico G. Schwindt | |
2005-11-12 | Pass a struct proc * to ISHPMMADDR instead of abusing curproc in it. | Miod Vallat | |
2005-11-12 | Compute a rough estimate of exactly how much memory uvm_init() will allocate, | Miod Vallat | |
so as to correctly size the initial PT pages, to prevent the early initialization from invoking pmap_enter_ptpage() [chicken and egg problem]. Much better than the previous arithmetic. |