summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-05-18Widen the SCHED_LOCK in two cases to protect p_estcpu and p_priority.Artur Grabowski
kettenis@ ok
2007-05-18Fix io space access.Mark Kettenis
tested by krw@, miod@, ok deraadt@
2007-05-18regenMark Kettenis
2007-05-18Add IDs for 8700/pcxw2 cpu and fpu.Mark Kettenis
2007-05-18Instead of checking whichqs directly, add a "sched_is_idle()" macro toArtur Grabowski
sys/sched.h and use that to check if there's something to do. kettenis@ thib@ ok
2007-05-18Instead of a silly loop with goto, just use while(1).Artur Grabowski
2007-05-18in case of pre-configured nfs, we must assume that the bootdv is the rootdvTheo de Raadt
2007-05-18spelling in comment fixDavid Gwynne
2007-05-18remove the COMPAT entries. they are not useful hereTed Unangst
2007-05-17Collapse struct v_selectinfo in struct vnode, remove theThordur I. Bjornsson
simplelock and reuse the name for the selinfo member. Clean-up accordingly. ok tedu@,art@
2007-05-17Since we're initializing everything in pmap_pinit, it's probably a goodArtur Grabowski
idea to initialize pm_cpus as well. Otherwise we'll get stray tlb shootdowns and pm_cpus is not clear on exit sometimes.
2007-05-17There's no reason to keep track of gdt_count, we only use it forArtur Grabowski
copying the intial gdt when spinning up secondary cpus and then we can simply use gdt_size for that. From mickey, art@ ok
2007-05-17Limit hppa buffer cache to 30%. It used to be 70% because stack garbageArtur Grabowski
that was used for minaddr instead of the proper vm_map_min(kernel_map) (fixed in this diff). From mickey. art@ ok
2007-05-17provide dummy device_register()Martin Reindl
2007-05-17copy the lladdr from the arpcom struct onto the hardware when the interfaceDavid Gwynne
is brought up. this driver now supports all the features our network layer expects of it.
2007-05-17support changing the mtu up to the maximum frame size it currentlyDavid Gwynne
supports (MCLBYTES).
2007-05-16fix return values in bridge_output.Michele Marchetto
OK claudio@ jason@
2007-05-16forgot this one in my previous commit.Thordur I. Bjornsson
splassert_ctl defaults to 1 now, so dont wrap the checks for splassert_ctl > 0 in __predict_false(). ok deraadt@
2007-05-16splassert_ctl defaults to 1 now, so dont wrap the checks forThordur I. Bjornsson
splassert_ctl > 0 in __predict_false(). ok deraadt@
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
have cpu_info now, so kill the option. eyeballed by jsg@ and grange@
2007-05-16we need a cpu_info_store; how did miod miss this?Theo de Raadt
2007-05-16add definitions for the bits in the "register" bus_space region.David Gwynne
2007-05-16add support for multicast addresses. this adds the add/del multi handlersDavid Gwynne
to the ioctl, and programs the multicast filter in tht_iff. we are not using the perfect multicast filters, only the imperfect one. i think there is a requirement that addresses in the perfect filter be in order, but im not sure how to do that nicely (yet). this has taken a long time because i dont know how to write c.
2007-05-16count the number of multicast ranges that are kept in the list of multicastDavid Gwynne
addresses in struct arpcom. this lets a nic driver easily see if it wants allmulti behaviour, which in turn means we can clean some code up. ok jason@ claudio@ norby@
2007-05-16Oops, forgot this file in the cpuinfo changes.Miod Vallat
2007-05-16Switch vax to __HAVE_CPUINFO, based on an incomplete diff from art.Miod Vallat
2007-05-16map the pci BARs that we're interested in. this gives us access to theDavid Gwynne
chips registers and io interface, but whats actually in them is still a mystery to me.
2007-05-15Remove unused variable.Mark Kettenis
2007-05-15We will never call OpenFirmware from 32-bit code.Mark Kettenis
ok art@, deraadt@
2007-05-15Update the ifp of bridge cache entries if the entry is not static. ThisClaudio Jeker
makes carp(4) fail-over work over bridge(4). OK michele@ jason@
2007-05-15regenMarcus Glocker
2007-05-15Add vendor and product; AmbiCom, Inc. WL54CF.Marcus Glocker
2007-05-15Switch amd64 to VM_PAGE_MD. Mostly just imitating i386. flags in pg_flags.Artur Grabowski
deraadt@ ok
2007-05-15make splassert(IPL_NONE) work on i386/MP (the single-processor case isArtur Grabowski
a bit more hairy). deraadt@ ok
2007-05-15Userland has the right to compile, too; not sure this will be enough yetMiod Vallat
but deraadt@ insists this goes in now.
2007-05-15External bus errors should not occur, so panic. ok deraadt@Dale Rahn
2007-05-15Remove the MI implementation of mutexes and remove the __HAVE_MUTEXArtur Grabowski
option. Every architecture implements mutexes now.
2007-05-15switch m68k to __HAVE_CPUINFOMartin Reindl
help miod@, art@ ok deraadt@
2007-05-15oops; martin go see what you did here..Theo de Raadt
2007-05-15Dummy mutex code for arm platforms. ok drahn@ deraadt@Miod Vallat
2007-05-15now that setroot() prints nice things like:Theo de Raadt
root on sd0a swap on sd0b dump on sd0b we can skip printing: rootdev=0x400 rrootdev=0xd00 rawdev=0xd02 ok miod, no objections from other lazy slackers
2007-05-15kill __HAVE_DEVICE_REGISTER by requiring all architectures to have aTheo 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-15start work on a driver for emulex fibre channel controllers.David Gwynne
it is split up into a bus independant chunk (dev/ic/sli*) and the attach glue (dev/pci/sli_pci.c) cos there are sbus varaints of this chip which i hope to get my hands on one day. this does nothing except attach to the LP8000 controllers.
2007-05-14Move want_resched into struct cpu_info.Mark Kettenis
2007-05-14Use value passed as in ca_reg as cpuid instead of unit number.Mark Kettenis
ok drahn@
2007-05-14move hppa to __HAVE_CPUINFOMartin Reindl
input from miod@, ok kettenis@
2007-05-14Nuke code to support the Solaris bootloader and old 32-bit bootloaders.Mark Kettenis
Remove bits of code that repeat what the bootloader already did for us, like setting up the stack and clearing .bss. ok deraadt@
2007-05-14Oops, IPL_NONE is not zero in HEAD.Miod Vallat
2007-05-14Work in progress IPI mechanism, currently only implemented on MVME188, toMiod Vallat
send clock ticks to secondary processors.
2007-05-14Hold kernel_lock when processing interrupts at a level under IPL_SCHED, asMiod Vallat
done on 188, for MULTIPROCESSOR kernels.