summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-06-20Protect pool operations with splvm.Miod Vallat
2007-06-20Make sure IPL_CLOCK blocks device interrupts.Miod Vallat
2007-06-19com at ssioMark Kettenis
2007-06-19Add ssio(4), a driver for the castrated National Semiconductor PC87560Mark Kettenis
Sucky SuperIO chip. For now it only provides support for the i8259-compatible PICs on the chip, but that support is necessary to make USB interrupts work.
2007-06-19Empty another cpu_disklabel. In this case read in the bootKenneth R Westerback
block/native label as needed rather than keeping it in cpu_disklabel. Also a number of assorted minor tweaks to reduce the delta to sparc64 disksubr.c. 'get this in' deraadt@
2007-06-19Mark PDE entries with PG_U and PG_M. We never need that information from theArtur Grabowski
mmu, it slightly speeds up tlb misses and according to an errata from AMD it can actually work around a bug in the mmu. toby@ ok
2007-06-18Lookup interrupt routing info based on elroy(4) bus number.Mark Kettenis
Fix and simplify debug code that prints the interrupt routing info while I'm there.
2007-06-18Calculate the disklabel checksum *after* filling in all the fields inKenneth R Westerback
the disklabel. ok deraadt@
2007-06-18this is the sgi disklabel, mips64 is not the sameTheo de Raadt
2007-06-18this is the sgi disksubr, not some mythical "all mips64 architectures can ↵Theo de Raadt
use it" balony
2007-06-18Don't use cpu_disklabel as local storage. Use local variables and discardKenneth R Westerback
the unneeded info when done with it. Another empty struct cpu_disklabel. ok deraadt@
2007-06-18Don't use cpu_disklabel as local storage. Use local variables and discardKenneth R Westerback
the unneeded info when done with it. Another empty struct cpu_disklabel. ok deraadt@
2007-06-18Use a shorter form to load XKPHYS constants in .S code, shaves a few textMiod Vallat
bytes, no functional change.
2007-06-18Disable instruction reordering around cpl assignments.Miod Vallat
2007-06-18delete comment above cpu_disklabel that is not neededTheo de Raadt
2007-06-18move comment to right placeTheo de Raadt
2007-06-18split out dpme disklabel reading, simplifying things significantlyTheo de Raadt
and making it look a lot more like other architectures; tested by myself and drahn and gwk
2007-06-18simplify error return case from writedisklabel(), tooTheo de Raadt
2007-06-18simplify error return case from writedisklabel()Theo de Raadt
2007-06-18simplify error return case from writedisklabel()Theo de Raadt
2007-06-18more comments that are differentTheo de Raadt
2007-06-18using same words in similar code sequences is goodTheo de Raadt
2007-06-18this XXX has no place here anymore. extended partition label writingTheo de Raadt
might even work now (ie. if it works, it is because finding the label location is now MI code shared for the read & write paths)
2007-06-18include not neededTheo de Raadt
2007-06-18msg is already gauranteed to be NULLTheo de Raadt
2007-06-17make it compileMartin Reindl
2007-06-17Eliminate a few straggling 'labelsector' field declarations fromKenneth R Westerback
cpu_disklabel's. 'labelsector' is not used anywhere according to grep. 'go for it' deraadt@
2007-06-17Get interrupt information from PDC and use it to program the IO SAPIC.Mark Kettenis
Needed to make edge triggered interrupts work.
2007-06-17Disable memory above 256MB for now, it triggers bugs (probably related toMiod Vallat
cache operations).
2007-06-17Coerce this into compiling.Miod Vallat
2007-06-17Some alpha (or SRM) designs use level 3 for i/o interrupts, instead of theMiod Vallat
more commonly encountered level 4. Do not complain in splassert() in this case (this is similar to the older vsbus vax machines workaround).
2007-06-17(error in commit messages to other similar MI files; see position inTheo de Raadt
ChangeLog to see other files) avoid pulling in machine/disklabel.h when sys/disklabel.h is a better choice
2007-06-17amd64/standTheo de Raadt
2007-06-17significantly simplified disklabel infrastructure. MBR handling becomes MITheo de Raadt
to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
2007-06-16astro(4)'s iommu does cache-coherent DMA.Mark Kettenis
2007-06-16Add a few more registers.Mark Kettenis
2007-06-16Enable iophy(4) for fxp(4). From brad.Mark Kettenis
2007-06-16When EOVERFLOW was added, it broke the zaurus bootblocksTheo de Raadt
2007-06-15In power_match(), make sure oa_irq is correctly initialized.Miod Vallat
2007-06-15permit this to compile againTodd T. Fries
looks right krw@, Righto miod@
2007-06-15no need to include machine/disklabel.h when sys/disklabel.h is alreadyTheo de Raadt
pulled in. look at how doing it in one architecture gets that code copied to the derivative architectures... amazing..
2007-06-14bzero the right thingTheo de Raadt
2007-06-14unbreak tree after untested timeout.h deletionsTheo de Raadt
2007-06-14When macppc was switched to __HAVE_VM_PAGE_MD, data structures were incorrectlyDale Rahn
exposed to userland, protect with _KERNEL. Tested by Antoine Jacoutot
2007-06-14Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andMarc Balmer
USB_DECLARE_DRIVER macros. No binary change. ok dlg.
2007-06-14Move the inclusion of sys/timeout.h from usb_port.h to the drivers thatMarc Balmer
need it. If a USB driver uses timeout(9) functions, the header file sys/timeout.h must be included. Tested by me (i386, macppc, sparc64), ckuethe (amd64), & todd (sparc, zaurus). ok dlg.
2007-06-14Fix label name in writedisklabel().Miod Vallat
2007-06-14some spaces in the wayTheo de Raadt
2007-06-14excessive blank lines making the versions differentTheo de Raadt
2007-06-14set the prototype disklabel to version 1Theo de Raadt