Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2006-01-17 | since bcopy/bzero will be assigned to these pointers, get the size_t in the ↵ | Theo de Raadt | |
cast right; ok millert | |||
2006-01-16 | adjust to size_t changes | Theo de Raadt | |
2006-01-11 | Switch to __HAVE_DEVICE_REGISTER to find the device we're booted from. | Miod Vallat | |
Simpler, better. | |||
2006-01-10 | Really pass -fno-stack-protector in CFLAGS as intended, and define the | Miod Vallat | |
load addresses in one single place; from mvme88k | |||
2006-01-10 | use ${INSTALL_STRIP} ok miod | Theo de Raadt | |
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-01 | Let cons_init() and cons_init_bell() initialize the whole consdev structure, | Miod Vallat | |
thus removing the need for drivers to initialize cn_pri to CN_DEAD when hardware probe fails. | |||
2005-12-30 | Now that errno.h and sys/errno.h are separate header files there is no | Todd C. Miller | |
need to use the -Derrno=errno workaround added when __errno() was introduced. OK deraadt@ | |||
2005-12-27 | Remove unused sw_nblks field of struct swdevt. Then, remove swapconf() | Miod Vallat | |
which duplicates work done by uvm_swap_init(). | |||
2005-12-22 | More reasonable size for fixed extent storage. | Miod Vallat | |
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@ |