Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-05-11 | Don't use LK_CANRECURSE for the kernel lock, okay miod@ art@ | Pedro Martelletto | |
2007-05-10 | evcnt & friends were replaced by a proper interrupt counting mechanism 3 ↵ | Theo de Raadt | |
years ago; ok miod | |||
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-22 | Switch the vax pmap to __HAVE_VM_PAGE_MD. | Miod Vallat | |
pv_entry head of lists are no longer preallocated at boot, and will only be allocated for managed pages (instead of all physical memory pages, including those containing the kernel). pmap and pv_entry will now be allocated from a pool, instead of malloc for the former and a homegrown allocator which never relinquishes unused elements to the VM system for the latter. The net result is a slight decrease in memory usage, and better behaviour in low-memory conditions. | |||
2007-04-12 | Remove __BUS_SPACE_ADDRESS_SANITY correctly, no cookie for me. Spotted by | Miod Vallat | |
djm@ | |||
2007-04-10 | Add support for a fourth axis on wsmouse devices, e.g. on the Apple Might | Miod Vallat | |
Mouse. Currently limited to USB mice. Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@ | |||
2007-04-10 | More typos from my list. | Miod Vallat | |
2007-04-10 | ``prob ably'' can be written in one word. | Miod Vallat | |
2007-04-10 | Remove unused BUS_SPACE_ALIGNED_POINTER, __BUS_SPACE_ADDRESS_SANITY and | Miod Vallat | |
__BUS_SPACE_ALIGNED_ADDRESS. | |||
2007-04-10 | ``it's'' -> ``its'' when the grammar gods require this change. | Miod Vallat | |
2007-04-05 | Wrap bit operations between splhigh()/splx() for atomicity wrt interrupts. | Miod Vallat | |
Not enough for multiprocessor, but we're not there yet anyway. | |||
2007-04-05 | Reuse symbolic values for splsoftXXX() inlines, instead of hardcoding them. | Miod Vallat | |
No functional change. | |||
2007-04-05 | splx() does not need to return a value. | Miod Vallat | |
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 | Nuke __HAVE_OLD_DISKLABEL code, this was never defined anyway. | 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-18 | In writedisklabel(), read the disklabel sector before rewriting it, to | Miod Vallat | |
preserve the non-disklabel contents; otherwise altering your disklabel may render your machine unbootable. ok deraadt@ krw@ | |||
2007-02-15 | Don't print the error strings returned by readdisklabel(). If you | Kenneth R Westerback | |
need the debug info uncomment the printf's you need. Crude but effective way to suppress 'no disklabel' errors that pop up at the most innconvenient times to frighten users. More elegant method, DPRINTF-like constructs or something, later. "Yay!" marco@ ok deraadt@ | |||
2007-02-14 | Consistently spell FALLTHROUGH to appease lint. | Jonathan Gray | |
ok kettenis@ cloder@ tom@ henning@ | |||
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-14 | ragge@netbsd fixed the copyright, thanks. ok miod@ | Otto Moerbeek | |
2006-12-24 | Define PROC_PC. Then, since profiling information is being reported in | Miod Vallat | |
statclock(), do not bother doing this in userret() anymore. As a result, userret() does not need its pc and ticks arguments, simplify. | |||
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-12-13 | Remove the dma_eop callback in the ncr5380 driver md attachment, it was always | Miod Vallat | |
doing nothing and the mi code does not use it anymore anyway. No functional change. | |||
2006-12-13 | Missing "break;" for the KA46/KA48 case, fortunately caused no harm but a | Miod Vallat | |
waste of 128KB of kvm. | |||
2006-12-13 | Remove unused parts of vsbus_attach_args structure. | Miod Vallat | |
2006-11-29 | Add an unpack_attr function to struct wsdisplay_emulops, to match the | Miod Vallat | |
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers. | |||
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-29 | Add a new member to struct wsemuldisplaydev_attach_args, for a frame buffer | Miod Vallat | |
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting. | |||
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-11-27 | Portuguese LK-201 layout. | Miod Vallat | |
2006-11-06 | Oops, bootblocks need this. | Miod Vallat | |
2006-11-06 | Let CISCoholic memset() do not behave as bzero for a length over 64KB. | Miod Vallat | |
2006-11-06 | Sync the VS2000 (and some VS3100) MFM controller driver with NetBSD, and | Miod Vallat | |
enable it in GENERIC and RAMDISK. Completely untested due to lack of hardware (both my VS3100 are dual-SCSI), but it hopefully can't hurt. | |||
2006-11-05 | Do not enable hardware cursor in the Brooktree DAC on the 8bpp model as well | Miod Vallat | |
(it would only appear when booting after an UNJAM). | |||
2006-11-05 | Wait two seconds after reset before probing devices, lets RX23 get detected | Miod Vallat | |
again. | |||
2006-11-01 | German LK-[24]01 keyboard layout; | Miod Vallat | |
contributed by Sigi Rudzio (sigirudzio ; gmail . com) | |||
2006-10-29 | Fix Bt458 programming; screen burner now works on 8bpp flavour. | Miod Vallat | |
2006-10-27 | Hide hardware cursor on 4bpp model. | Miod Vallat | |
2006-10-22 | Fix colormap programming in 4bpp mode. | Miod Vallat | |
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-10-04 | More tidying up after bad144. Remove references in comments and | Kenneth R Westerback | |
don't include dkbad.h when nothing in it is used. Missed arm/include/disklabel.h first time around. | |||
2006-08-31 | Make sure we do mbuf operations at splnet(), for some models have ze | Miod Vallat | |
interrupting at spl4 (i.e. below splnet) and this can cause pool corruption; ok deraadt@ | |||
2006-08-30 | Horrible code to work around stupid VXT2000 rom getchar() behaviour, but | Miod Vallat | |
at least this allows our boot blocks to work with glass console on these machines now. Caution: reading this code will hurt your eyes. ok deraadt@ |