summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-06-07roller-coaster. The bug that corrupts the page tables is back.Artur Grabowski
So put back the flushg in pmap_release since at least it hides it and I can now reproduce.
2007-06-07another XXsize() botchTheo de Raadt
2007-06-07GET should have been SETOtto Moerbeek
2007-06-07Replace magic bus clock constants in est related files with defines.Dimitry Andric
ok jsg
2007-06-07Fix spacing.Dimitry Andric
2007-06-07more XXsize() functions not fixedTheo de Raadt
2007-06-07best if this compilesTheo de Raadt
2007-06-07more XXsize() falloutTheo de Raadt
2007-06-07Comment 'fixes'. All bounds_check_with_label now identical except forKenneth R Westerback
vax and alpha.
2007-06-07Eliminate unnecessary duplicate defines *_LABELSECTOR andKenneth R Westerback
*_LABELOFFSET. Don't use osdep->labelsector since it will always be LABELSECTOR, since we don't support extended DOS partitions holding the OpenBSD disk label. No functional change. Now only Alpha and Vax bounds_check_with_label differ by more than comments.
2007-06-07More bounds_check_with_label homogenization. Fix a couple of typos whileKenneth R Westerback
there. 'so go to it!' deraadt@
2007-06-07another XXsize() function forgottenTheo de Raadt
2007-06-06clamp the disklabel d_secperunit to what the disk actually says it has,Theo de Raadt
not to what some bogus disklabel from the past may say (some of which may have been caused by older openbsd disklabel programs). resolves issues seen by myself and Markus Lude on sparc/sparc64 machines
2007-06-06an XXsize() function that got skippedTheo de Raadt
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors
2007-06-06a fair sprinking of knf, code movement, and sometimes character-by-characterTheo de Raadt
accuracy so that the variious disksubr.c's can be compared easier. setdisklabel() starts taking an int for openmask. ok krw, and read by quite a few other people
2007-06-05Remove the comment "Static function protoypes". Static is gone in USB.Marc Balmer
no binary change.
2007-06-05Use phys_map, not kernel_map in v{,un}mapbuf. ok mickeyMiod Vallat
2007-06-05Remove the "Static" function declaration. It is defined to beMarc Balmer
empty and confuses the source code reader. As discussed with dlg and jsg.
2007-06-05bounds_check_with_label() checks for i/o outside of the partition andKenneth R Westerback
for overwriting the disklabel. Reorder some checks so all copies of bounds_check_with_label do the checks in the same order. Order picked by using the currently most popular one. Should be no functional change. "If it's boring, commit it" deraadt@
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values
2007-06-04bluetooth isn't really useful yet, but at least give it a chance to compileChris Kuethe
ok gwk
2007-06-04Bring presto's readdisklabel() usage into line with other uses. i.e.Kenneth R Westerback
don't call it at attach but at open, so that the correct device can be used in the DISKLABELDEV() invocation. Commit and get into miod's test schedule. '... commit your diff ...' miod@
2007-06-04do not shuffle dev 4 under the carpet; make svnd work again; uncookieOtto Moerbeek
for deraadt@ ok irc@
2007-06-04Use 166.67 and 266.67 for bus_clock and not 166.66 and 266.66,Jonathan Gray
as per recommended values from Intel documentation. ok tedu@
2007-06-03if the 915gm didn't work on i386, it's worrisome here too. remove it.Ted Unangst
2007-06-03Dummy <machine/bus.h> for softraid to compile.Miod Vallat
2007-06-03Add a check for Intel Core processors with Scalable Bus Speed of 200 MHz.Jonathan Gray
From NetBSD and verified in Intel doc #253669 ok tedu@
2007-06-02Match on ICH8M.Jonathan Gray
Tested by Daniel Dickman <didickman@gmail.com>
2007-06-02oops, why did i delete this. bizzareTheo de Raadt
2007-06-02Rename cvtdisklabelv1 -> disklabeltokernlabel. It does more than justKenneth R Westerback
convert version 0 to version 1 disklabels. Suggested by deraadt@. ok deraadt@ otto@
2007-06-02stand/ofdev.hTheo de Raadt
2007-06-01remove ofw devices which we don't use; that way of mixing devices is crazyTheo de Raadt
(means i also don not have to fix the daddr_t problems) ok miod
2007-06-01Revert INTEL_82915GM part of tedu's commit as it hung my T43Bjorn Sandell
ok tedu@
2007-06-01Infrastructure to allow root on wd0.Miod Vallat
2007-06-01some pentium 4 machines are 64-bit and have EST, but a different msr toTed Unangst
get bus clock. copy in some more code from i386 to deal with both families, and be more watchful for unknown models. fixes a panic reported by johan lindman. ok gwk
2007-06-01Replace comment in Swedish. -mojMats O Jansson
2007-06-01Instead of reexporting PAGE_SIZE from assym.h which causes warningsArtur Grabowski
for locore, just include machine/param.h in vector.S
2007-06-01set hiwat mark for some of the more popular pools to reduce bouncingTed Unangst
ok art bob
2007-06-01some architectures called setroot() from cpu_configure(), *way* before someTheo de Raadt
subsystems were enabled. others used a *md_diskconf -> diskconf() method to make sure init_main could "do late setroot". Change all architectures to have diskconf(), use it directly & late. tested by todd and myself on most architectures, ok miod too
2007-06-01Provide carefully crafted DEADBEEF* values, this was initially forgotten inMiod Vallat
the commit which enabled DEADBEEF* overrides, then values have been discussed a bit more and improved; reminded by and ok art@
2007-06-01Fix cd block major numberMiod Vallat
2007-06-01Fix macppc tags.Alexander Yurchenko
ok drahn@
2007-06-01Establish interrupt after checking the i2s subsystem, fixes a problem withGordon Willem Klok
xserve G5. ok drahn
2007-06-01never attempt to tweak a file just before commitTed Unangst
2007-06-01Don't initialize d_partitions[RAW_DISK] just before callingKenneth R Westerback
readdisklabel(), since all readdisklabel()'s do that already. ok deraadt@
2007-05-31panic if mtx_leave is called on an unlocked mutex. ok kettenis@Dale Rahn
2007-05-31intel pchb rnd support, from i386Ted Unangst
ok deraadt
2007-05-31It's the time to squash antique bugs. This has been thereTobias Weingartner
for some time. I can't believe it took a re-read for future functionality plus something I wrote and kjell@ saved from '97 for me to find this. ok tom@
2007-05-31Add Bluetooth drivers to GENERIC (not enabled - we still have ways to go)Uwe Stuehler
ok gwk, deraadt