Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-25 | "interupt" -> "interrupt" in various comments. Mostly from Diego Casati. | Kenneth R Westerback | |
2007-05-23 | Print real/available memory in MB as well as bytes in dmesg, and unify | Peter Valchev | |
architectures to print it the same way. ok henning, miod; i386 part from tom | |||
2007-05-15 | switch m68k to __HAVE_CPUINFO | Martin Reindl | |
help miod@, art@ ok deraadt@ | |||
2007-05-15 | kill __HAVE_DEVICE_REGISTER by requiring all architectures to have a | Theo de Raadt | |
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them) | |||
2007-05-08 | remove more junk in the setroot() code path | Theo de Raadt | |
2007-05-04 | make findblkmajor() and findblkname() MI; ok miod | Theo de Raadt | |
2007-05-04 | setroot() was a ugly mix of MI and MD code, with different bugs on different | Theo de Raadt | |
machines. Instead -- build one solid clean MI version, and thenchange all the architectures to use it. ok various people, tested on almost all cases. (it is a 10094 line diff..) | |||
2007-05-01 | Provide <machine/lock.h> on all platforms, so that MI code may #include it | Miod Vallat | |
unconditionnaly. | |||
2007-04-01 | Remove some leftovers from the userret cleanups. | Artur Grabowski | |
No need to save sticks anymore. miod@ ok and test | |||
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-03-13 | Reset psl to spl0 in cpu_fork(), so that kthreads start at spl0 and not | Miod Vallat | |
splhigh(); from NetBSD | |||
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 | |||
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-12-21 | 'tranfer' -> 'transfer' in comments. | Kenneth R Westerback | |
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-11-28 | give scsi controllers a real attach args to fill in when attaching scsibus. | David Gwynne | |
ok miod@ marco@ deraadt@ | |||
2006-11-28 | rename scsibus_attach_args to scsi_attach_args. this can help avoid | David Gwynne | |
confusing when trying to attach scsibus to a hba, since it is really meant for attaching scsi devices to scsibus. ok deraadt@ marco@ | |||
2006-10-21 | Some KNF cleanup. | Kenneth R Westerback | |
De-register. Move declaration to top of function for DOS MBR processing. Indent nit in macppc. No functional change. | |||
2006-09-24 | Bring hp300, mac68k and mvme68k disklabel initialization code into | Kenneth R Westerback | |
line with all other archs by initializing partitions up to RAWPART the same way. Should be no functional change. ok martin@ miod@ | |||
2006-08-17 | Check d_secpercyl in all readdisklable() functions, and have all of | Kenneth R Westerback | |
them return 'invalid geometry' when d_secpercyl == 0. While there move the check to a consistant location (after the check of d_secperunit) and use a consistant idiom (i.e. some readdisklabel()'s have no 'done' label). prodded by thib@ after a bad macppc experience. ok deraadt@ | |||
2006-07-27 | Compile all kernels with -Wstack-usage-larger-than-2047, now that all | Miod Vallat | |
offending code has been taken out and shot. ok deraadt@ | |||
2006-07-10 | Accept non-page-aligned addresses and sizes in mapiodev() and unmapiodev(). | Miod Vallat | |
2006-07-03 | Repair initialization value of m68060_pcr_init, per 68060 errata I14. | Miod Vallat | |
2006-07-03 | Backout premature incomplete 060 stuff. | Miod Vallat | |
2006-06-24 | Configure network devices at ipl 3, not ipl 1. | Miod Vallat | |
2006-06-24 | Replace physaccess() usage with pmap_kenter_cache(). | Miod Vallat | |
2006-06-23 | consistantly count context switches on exit; miod@ ok | Michael Shalayeff | |
2006-06-21 | let this compile after time.h changes | Theo de Raadt | |
2006-06-11 | Clean the various cache and TLB invalidation function, arch by arch: | Miod Vallat | |
- [DI]C{FL,PL,PP} and DCFA are only called on 680[46]0 systems and are identical on these platforms, so don't bother checking for the MMU type. - TBIAS is on 68060 codepath only. - DCIAS, PCIA and TBIA are specific to some platforms and do not need to be implemented everywhere. | |||
2006-06-11 | Set up FPSP exception vectors on 68040 models in initvectors(), as done for the | Miod Vallat | |
68060 SP, instead of in identifycpu(). | |||
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-04 | When VM_PHYSSEG_MAX is 1, use VM_PSTRAT_RANDOM for VM_PHYSSEG_STRAT, this | Miod Vallat | |
makes uvm_page.o smaller. | |||
2006-06-02 | feild -> field | Miod Vallat | |
2006-05-19 | Get rid of ``maxmem'' and fix the descriptive comment for ``physmem''. | Miod Vallat | |
Either maxmem is not used (mac68k), or the position of the physical memory is set in stone so we don't need to know the top of the memory (MAXADDR on hp300, physmem on mvme68k) it was pointing to. Plus this gets rid of unused lowram on mvme68k - all the m68k world is not an hp300, after all. | |||
2006-04-25 | Missed an include chunk. | Miod Vallat | |
2006-04-25 | that extern was needed for now, miod | Theo de Raadt | |
2006-04-22 | Correct an evil typo which broke MVME147 support. | Miod Vallat | |
2006-04-21 | Since bugtty (and BUG routines in general) can only work if we keep the BUG | Miod Vallat | |
mapped, and we don't, do not bother carrying this code around - it can not be used anyway. | |||
2006-04-16 | Convert the last remaining net-driver users of ether_input to ether_input_mbuf. | Christopher Pascoe | |
sgec ok martin@ if_ie ok miod@ if_de, if_hp not in GENERIC ok brad@ | |||
2006-03-25 | allow bpf(4) to ignore packets based on their direction (inbound or | Damien Miller | |
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@ | |||
2006-03-15 | Nuke dk_establish(), no longer used. | Miod Vallat | |
2006-03-15 | Correct checks against cd_ndevs - valid numbers are strictly inferior to | Miod Vallat | |
cd_ndevs. | |||
2006-03-12 | remove splimp(). | Brad Smith | |
2006-03-04 | Dead meat. | Miod Vallat | |
2006-01-30 | When delivering SIGFOO, make sure the siginfo code is a FOO_xxx constant; | Miod Vallat | |
also deliver SIGILL/ILL_COPROC rather than SIGFPE/FPE_FLTINV for disabled or missing floating point support. | |||
2006-01-22 | b_cylin -> b_cylinder; no functional change. | Miod Vallat | |
2006-01-21 | Remove old mdpflag debug help. | Miod Vallat | |