summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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.
2007-05-14Oops, correctly handle spl-less mutexes.Miod Vallat
2007-05-14Register statclock() at IPL_STATCLOCK, not IPL_CLOCK (no-op since they areMiod Vallat
the same)
2007-05-14Properly wrap mii_tick() up in splnet().Jonathan Gray
This seems to fix a bizzare problem I was having for some time with msk on MP amd64 where the machine would reboot itself under load. At least sk(4) and rl(4) code seems to have the potential for a similiar problem. ok kettenis@
2007-05-14wsmouse.h is needed for the NWSMOUSE test to actually workTed Unangst
found by and ok art
2007-05-14Switch arm to __HAVE_CPUINFO. Least effort.Artur Grabowski
deraadt@ ok
2007-05-14Switch sh to __HAVE_CPUINFO. The least possible effort for now.Artur Grabowski
deraadt@ ok
2007-05-14uint32_t is not spelled u_long. makes the 32-bit NO_ADDR potentially useful onTed Unangst
64-bit machines, even though it's not used. ok art deraadt millert tom
2007-05-14_bus_dmamap_sync() is unused; ok miodTheo de Raadt
2007-05-14SMALL_KERNEL unused bitsTheo de Raadt
2007-05-14delete unused code; ok krwTheo de Raadt
2007-05-14Convert from lockmgr to rwlock.Jonathan Gray
Initial diff from krw@, uneeded lock_mii()/unlock_mii() on all commands in existing code removed by me so it doesn't try to recurse. ok krw@
2007-05-14Remove crufty unused code.Jonathan Gray
ok kettenis@ krw@ henning@
2007-05-13sync comment with realityFelix Kronlage
2007-05-13Put names we get from the prom between double quotes when we print them.Mark Kettenis
ok deraadt@
2007-05-13Enable powernow on amd64 processors in the GENERIC.MP.Gordon Willem Klok
ok tedu
2007-05-13print lock name in some panic messages so we know what's upTed Unangst
ok krw marco pedro
2007-05-13Ansi prototypes, not K&R. no binary difference.Dale Rahn
2007-05-12Increment ncpus when hatching a secondary processor.Miod Vallat
2007-05-12Change the 88100 interrupt handlers to process DAEs with interrupts enabled,Miod Vallat
as done for DAEs not occuring during interrupts. Remove the check for unprocessed DAE on return from trap() in eh_common.S, since this can't happen. As a result, the return-from-trap code becomes identical on 88100 and 88110 systems.
2007-05-12On multiprocessor kernels, update p->p_pcu on exit from the scheduler.Miod Vallat
2007-05-12Remove unused code and definitions pasted over from mvme188 support, which doMiod Vallat
not apply to luna88k.
2007-05-12Take alignment restrictions into account when setting up RAM buffer addresses.Mark Kettenis
This makes Yukon-2 FE chips work reliably. Pointed out by giovanni at gmail dot com.
2007-05-12Use VNDLABELDEV() and not DISKLABELDEV() in writedisklabel() sinceKenneth R Westerback
VNDLABELDEV() is used in readdisklabel(). VNDLABELDEV() preserves the vndsimple() property encoded in the device.
2007-05-12Add initial bits for assembly at boot time.Marco Peereboom
2007-05-11Don't clear %tick register. Should not be necessary and undesirable sinceMark Kettenis
%tick is hyperprivileged on sun4v. ok jason@
2007-05-11regenMarcus Glocker
2007-05-11Add vendor and product; AboCom Systems, Inc. SDW11G.Marcus Glocker
2007-05-11Ditch acard_pci_intr() as nothing currently uses it.Jonathan Gray
Pointed out by deraadt@
2007-05-11simple misspell, miod@ okJanne Johansson
2007-05-11Don't use LK_CANRECURSE for the kernel lock, okay miod@ art@Pedro Martelletto
2007-05-10Alpha needs (will need) MUTEX_OLDIPL as well.Artur Grabowski
2007-05-10Don't zero out the cpu_info in cpu_attach. We've already set a field inArtur Grabowski
it (curproc) and it's allocated from zeroed memory anyway. deraadt@ ok and test.