summaryrefslogtreecommitdiff
path: root/sys/arch/vax
AgeCommit message (Collapse)Author
2007-05-11Don't use LK_CANRECURSE for the kernel lock, okay miod@ art@Pedro Martelletto
2007-05-10evcnt & friends were replaced by a proper interrupt counting mechanism 3 ↵Theo de Raadt
years ago; ok miod
2007-05-04make findblkmajor() and findblkname() MI; ok miodTheo de Raadt
2007-05-04setroot() was a ugly mix of MI and MD code, with different bugs on differentTheo 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-01Provide <machine/lock.h> on all platforms, so that MI code may #include itMiod Vallat
unconditionnaly.
2007-04-22Switch 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-12Remove __BUS_SPACE_ADDRESS_SANITY correctly, no cookie for me. Spotted byMiod Vallat
djm@
2007-04-10Add support for a fourth axis on wsmouse devices, e.g. on the Apple MightMiod Vallat
Mouse. Currently limited to USB mice. Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
2007-04-10More typos from my list.Miod Vallat
2007-04-10``prob ably'' can be written in one word.Miod Vallat
2007-04-10Remove unused BUS_SPACE_ALIGNED_POINTER, __BUS_SPACE_ADDRESS_SANITY andMiod Vallat
__BUS_SPACE_ALIGNED_ADDRESS.
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-04-05Wrap bit operations between splhigh()/splx() for atomicity wrt interrupts.Miod Vallat
Not enough for multiprocessor, but we're not there yet anyway.
2007-04-05Reuse symbolic values for splsoftXXX() inlines, instead of hardcoding them.Miod Vallat
No functional change.
2007-04-05splx() does not need to return a value.Miod Vallat
2007-04-01Remove some leftovers from the userret cleanups.Artur Grabowski
No need to save sticks anymore. miod@ ok and test
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur 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-13Nuke __HAVE_OLD_DISKLABEL code, this was never defined anyway.Miod Vallat
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-18In writedisklabel(), read the disklabel sector before rewriting it, toMiod Vallat
preserve the non-disklabel contents; otherwise altering your disklabel may render your machine unbootable. ok deraadt@ krw@
2007-02-15Don't print the error strings returned by readdisklabel(). If youKenneth 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-14Consistently spell FALLTHROUGH to appease lint.Jonathan Gray
ok kettenis@ cloder@ tom@ henning@
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-02-05Oops, forgot to commit these files when adding md mutex code; spotted by nick@Miod Vallat
2007-02-03Simple single-processor mutex implementation, simpler than the MI code byMiod Vallat
use of MD spl code bowels. No functional change.
2007-01-14ragge@netbsd fixed the copyright, thanks. ok miod@Otto Moerbeek
2006-12-24Define PROC_PC. Then, since profiling information is being reported inMiod 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-24Check for want_resched when processing AST and nowhere else. But then, whenMiod Vallat
doing so, do not check for signals - userret() will do this.
2006-12-13Remove the dma_eop callback in the ncr5380 driver md attachment, it was alwaysMiod Vallat
doing nothing and the mi code does not use it anymore anyway. No functional change.
2006-12-13Missing "break;" for the KA46/KA48 case, fortunately caused no harm but aMiod Vallat
waste of 128KB of kvm.
2006-12-13Remove unused parts of vsbus_attach_args structure.Miod Vallat
2006-11-29Add an unpack_attr function to struct wsdisplay_emulops, to match theMiod Vallat
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers.
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-29Add a new member to struct wsemuldisplaydev_attach_args, for a frame bufferMiod 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-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
2006-11-28rename scsibus_attach_args to scsi_attach_args. this can help avoidDavid 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-27Portuguese LK-201 layout.Miod Vallat
2006-11-06Oops, bootblocks need this.Miod Vallat
2006-11-06Let CISCoholic memset() do not behave as bzero for a length over 64KB.Miod Vallat
2006-11-06Sync the VS2000 (and some VS3100) MFM controller driver with NetBSD, andMiod 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-05Do not enable hardware cursor in the Brooktree DAC on the 8bpp model as wellMiod Vallat
(it would only appear when booting after an UNJAM).
2006-11-05Wait two seconds after reset before probing devices, lets RX23 get detectedMiod Vallat
again.
2006-11-01German LK-[24]01 keyboard layout;Miod Vallat
contributed by Sigi Rudzio (sigirudzio ; gmail . com)
2006-10-29Fix Bt458 programming; screen burner now works on 8bpp flavour.Miod Vallat
2006-10-27Hide hardware cursor on 4bpp model.Miod Vallat
2006-10-22Fix colormap programming in 4bpp mode.Miod Vallat
2006-10-21Some 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-04More tidying up after bad144. Remove references in comments andKenneth R Westerback
don't include dkbad.h when nothing in it is used. Missed arm/include/disklabel.h first time around.
2006-08-31Make sure we do mbuf operations at splnet(), for some models have zeMiod Vallat
interrupting at spl4 (i.e. below splnet) and this can cause pool corruption; ok deraadt@
2006-08-30Horrible code to work around stupid VXT2000 rom getchar() behaviour, butMiod 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@