Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-04-01 | Remove some leftovers from the userret cleanups. | Artur Grabowski | |
No need to save sticks anymore. miod@ ok and test | |||
2007-03-23 | Define PROC_PC and simplify userret(); ok kettenis@ (and I think drahn@ too) | Miod Vallat | |
2007-03-22 | Move powerpc to __HAVE_MUTEX. With help from drahn@. Tested by nick@, xsa@, | Mark Kettenis | |
deraadt@. "reads right" deraadt@ | |||
2007-03-20 | Move macppc to __HAVE_CPUINFO, and make locore.S and trap.c suitable for | Mark Kettenis | |
MULTIPROCESSOR. From now on sprg0 holds a pointer to struct cpuinfo, which is used to spill registers to during trap instead of the globals we used to use for that purpose. Bits and pieces from NetBSD. Help from drahn@ and art@. Tested by xsa@, thib@, miod@, gwk@, deraadt@. ok drahn@, gwk@ | |||
2007-03-17 | Implement proper atomic.h for powerpc. With help from art@ and drahn@. | Mark Kettenis | |
ok drahn@ | |||
2007-03-15 | Since p_flag is often manipulated in interrupts and without biglock | Artur Grabowski | |
it's a good idea to use atomic.h operations on it. This mechanic change updates all bit operations on p_flag to atomic_{set,clear}bits_int. Only exception is that P_OWEUPC is set by MI code before calling need_proftick and it's automatically cleared by ADDUPC. There's no reason for MD handling of that flag since everyone handles it the same way. kettenis@ ok | |||
2007-02-22 | Dont pass seemingly random numbers down as the flag | Thordur I. Bjornsson | |
parameter of pool_init() ok drahn@ no objections miod@ | |||
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-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 | |||
2006-12-24 | Check for want_resched when processing AST and nowhere else. But then, when | Miod Vallat | |
doing so, do not check for signals - userret() will do this. | |||
2006-11-29 | Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (except | Miod Vallat | |
for cpu_swapin() on hppa* which is kept). | |||
2006-05-29 | clean userland namespace a bit more; ok miod | Theo de Raadt | |
2006-05-16 | Add struct fpreg. | Mark Kettenis | |
2006-05-15 | Implement PT_{GET|SET}FPREGS. | Mark Kettenis | |
"looks good to me" miod@, ok drahn@ | |||
2006-05-10 | Use a macro in the MI powerpc PCI header for pci_intr_line() instead | Brad Smith | |
of a function in the MD macppc host bridge code. ok drahn@ | |||
2006-04-17 | Remove unused struct mdproc fields. | Miod Vallat | |
2006-04-09 | #ifdef lint wraps for va_start | Theo de Raadt | |
2006-03-19 | Change BLKDEV_IOSIZE down to 2KB like on all other platforms; ok kettenis@ | Miod Vallat | |
2006-03-12 | remove IPL_IMP and splimp(). | Brad Smith | |
2006-03-11 | cbb needs IPL_VM to be defined now. | Miod Vallat | |
2006-02-10 | Add a few more CPU types. | Mark Kettenis | |
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-02 | remove last traces of __BROKEN_INDIRECT_CONFIG. | Brad Smith | |
Thanks to aanriot@ and Michael Knudsen for checking that alpha/i386/macppc kernels still compile. | |||
2005-12-29 | W^X for G5 | Mark Kettenis | |
ok drahn@, totally groovy deraadt@ | |||
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 | 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 | Whoops, need to #undef _BIG_ENDIAN not _BYTE_ORDER | Todd C. Miller | |
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-11-26 | Frequency scaling for IBM 970FX. | Mark Kettenis | |
ok drahn@ | |||
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-13 | Recognized 970MP processor. | Dale Rahn | |
2005-11-13 | splimp -> splvm | Brad Smith | |
ok drahn@ | |||
2005-11-08 | Add support for 64-bit SPRs. | Mark Kettenis | |
ok drahn@ | |||
2005-10-26 | Mach-macro wipeout | Martin Reindl | |
'do it' deraadt@ | |||
2005-10-22 | s/970/970FX/g | Mark Kettenis | |
ok drahn@ | |||
2005-10-09 | unbreak altivec support. | Dale Rahn | |
2005-10-09 | Subtle changes to the powerpc fpu handling, basically fpuproc is handled | Dale Rahn | |
in a non-raceable manner inside save_fpu and enable_fpu so that the eventual SMP case will not grab a half loaded fpu context. | |||
2005-10-09 | Nearly functional crashdump support for macppc. Because savecore | Dale Rahn | |
does not recognize the resulting crashdumps, the writing has been disabled. Better here than in my forest of trees. | |||
2005-10-08 | 64 bit compat. clean up the 32/64 code paths so less decision points exist | Dale Rahn | |
allow more than 256MB ram on G5, (still 2G limit) by creating PTE entries dynamically for all physical memory. | |||
2005-10-03 | Handle segment register restore at context enter/exit instead of | Dale Rahn | |
deep in the kernel. Based on code from two years ago, now necessary for G5. removes the 1GB ram limit on 32bit processors, temporarily sets a 256MB limit on G5. | |||
2005-10-03 | G5 pmap support, most of this G5 work has been done by kettenis@ | Dale Rahn | |
without his forging ahead, it would barely be started. Again this is one step of many, but needs to be tested, this is independant of the locore change just committed which kettenis@ and deraadt@ significantly wrote. | |||
2005-10-01 | Recognize 970 processor and provide a function/variable to determine if | Dale Rahn | |
the current processor is 64bit. | |||
2005-09-15 | Change child_return() to record a proper ktrace record for vfork child | Miod Vallat | |
processes. ok art@ uwe@ (some time ago) | |||
2005-09-12 | Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bit | Miod Vallat | |
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime. |