summaryrefslogtreecommitdiff
path: root/sys/arch/sh
AgeCommit message (Collapse)Author
2007-02-26Zero rval[1] in setregs.Miod Vallat
2007-02-26FPU disabled bit on SH4 is not a ``must be zero'' bit, but userland shall notMiod Vallat
be allowed to fiddle with it anyway.
2007-02-26Fix spurious right brace in some decoders, and always print the hex value forMiod Vallat
unrecognized opcodes.
2007-02-19only make this interface available to the kernel for now, discussed withaTheo de Raadt
rt and such; tested and ok miod drahn
2007-02-11typo in commentMartin Reindl
2007-02-06Define trap #0x81 for cache range flush, will be necessary soon for gccMiod Vallat
trampoline code and ld.so.
2007-02-06Use uvm_grow() instead of rolling our own inline version.Miod Vallat
2007-02-06Add machine/atomic.h to all architectures and define two operationsArtur 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-01-15power(4) driver for the power switch on many landisk models, hookedMartin Reindl
up to machdep.kbdreset; modelled after the sparc64 power(4) driver discussed with miod@ and jsg@
2006-12-14Make pci subsystem aware of domains. Each host bridge gets assigned a uniqueMark Kettenis
domain number such that we can distinguish between busses with the same bus number that are behind different host bridges. Domains can be accessed by using different device nodes. ok deraadt@
2006-12-14Reset BBRB if we exit from a process that was single-stepping. Prevents aMark Kettenis
process that re-uses its ASID from getting random SIGTRAPs. ok miod@, mickey@
2006-12-05Allow kmem to work, might not quite be right yet, but allows basicDale Rahn
functionality. sort of ok miod@
2006-11-29Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (exceptMiod Vallat
for cpu_swapin() on hppa* which is kept).
2006-11-28Implement PT_STEP.Mark Kettenis
2006-11-27Add PT_STEP.Mark Kettenis
2006-11-20serial drivers should use spltty, not splserial.Dale Rahn
2006-11-19Use symbol information, when available, to display branch destinations.Miod Vallat
2006-11-17sorry miod, but this version locks the machine up rather fastTheo de Raadt
2006-11-16pagemove() this time without an accidental line removalMiod Vallat
2006-11-16backout pagemove() diff; does not workTheo de Raadt
2006-11-14A less awkward pagemove() implementation.Miod Vallat
2006-11-14match other architectures: _spinlock_lock_t is not volatile itself, butTheo de Raadt
code that uses it declares a volatile form
2006-11-10relocations belong in reloc.hDale Rahn
2006-11-10Correct order of the bitfields of float and double. Fixes ldexp() (andOtto Moerbeek
some more), which fixeds drand48(), which fixes perl build. ok miod@ drahn@ deraadt@
2006-11-10Remove debug code.Miod Vallat
2006-11-10Enforce correct userspace bounds in copy{in,out}str().Miod Vallat
2006-11-10Will be needed at some point.Dale Rahn
2006-11-09landisk has no DCD line, so we must force TS_CARR_ON. This is a gruesomeTheo de Raadt
hack, otherwise the console tty is not quite right. Solve better someday.
2006-11-09no newline at end of cpu_modelTheo de Raadt
2006-11-08fix sigmask handling bug that caused SIGCHLD to be almost alwaysOtto Moerbeek
masked. DOH! miod@
2006-11-05Use TF_SPC instead of hardcoding its value.Miod Vallat
2006-11-05Correctly release resources in intc_free_ih().Miod Vallat
2006-11-05Fix a couple of comments.Miod Vallat
2006-11-05Some basic fpu trap handling.Miod Vallat
2006-11-05define the bit that sh4 uses for FPU disable.Dale Rahn
2006-11-04make compile w/ debugMichael Shalayeff
2006-11-04make stack trace look as other flavoured stack traces look likeMichael Shalayeff
2006-11-03cleanup some devicesMichael Shalayeff
2006-11-03Return address is way too useful to not print here.Dale Rahn
2006-11-03For now use 3 pages like netbsd, allows the kernel to get _MUCH_ farther.Dale Rahn
I suspect this is really a bug in the P1_STACK code path.
2006-11-03must steal pages from the end of the physsegMichael Shalayeff
2006-11-03mdproc has to be initialisedMichael Shalayeff
2006-11-03step and stuff works in ddb now tooMichael Shalayeff
2006-11-02Remove unused code and move the knowledge of struct switchframe to a singleMiod Vallat
place.
2006-11-02proper brkpt detection so continue does restart properMichael Shalayeff
2006-10-23Do not match on non-shpcic config stanza.Miod Vallat
2006-10-23Do not panic on a ddb invocation with curproc == NULL, and don't try toMiod Vallat
userret() either on return.
2006-10-23Add interrupt name, however need to determine if the passed parameter is safeDale Rahn
to store or might be on the stack.
2006-10-20Try again with local variable to avoid alignment issues.Kenneth R Westerback
"The dosparts member of cpu_disklabel was not used for any persistant data. Eliminate it, and just use the data being read in while processing MBR and EBR records. Should be no functional change. ok weingart@ deraadt@"
2006-10-19Hack around a problem found on px-eh systems where the SH IPL+g initializesDale Rahn
part of the PCI addresses, but not to values reasonable for us.