summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
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
2007-05-31some more pchb that have rnd powers, IDs from NetBSDTed Unangst
2007-05-31RAW_PART is defined to be 2 in vax (like elsewhere) so use it ratherKenneth R Westerback
than 2.
2007-05-31Well, whatever the bug was, it does not seem to appear anymore.Artur Grabowski
Remove the workaround. (krw tried to reproduce many, many times)
2007-05-31Minor bounds_check_with_label nits.Kenneth R Westerback
1) Use local variable 'labelsector' not 'labelsect' to be consistant (hp300, mac68k, mvme68k, mvme88k, vax). 2) Having checked for sz == 0, the next check needs only be sz < 0, not <= 0. (mac68k, mvme68k, mvme88k) 3) Use lp->d_partitions + DISKPART(dev), rather than lp->d_partitions[DISKPART(dev)] (hp300). Assuming no typos there should be no functional change.
2007-05-31Forgot to commit the changes to this file with the rest of the ELF32+64Tom Cosgrove
pieces. Since this is where the "boot both ELF32 and ELF64" behaviour is turned on for i386, it is quite important. Bump version numbers too. Found by ckuethe@; thanks.
2007-05-31KNF, whitespace and comment rectification to make allKenneth R Westerback
bounds_check_with_label() routines as identical as possible without changing any code. Code nits and adjustments to come.
2007-05-31use the right capitalization for `MBus'Igor Sobrado
ok'd some days ago by jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-31include files.bluetooth here; ok gwkUwe Stuehler
2007-05-31An SDIO Bluetooth driver, only initial bits and therefore not enabled yetUwe Stuehler
2007-05-31Add a comment so this is identical to the i386 versionTom Cosgrove
2007-05-31Make powernow-k8 on amd64 and i386 use the _PSS object from acpi toGordon Willem Klok
retreive p_state data as spelled out in the amd64 bios and kernel developers guide. This code is still a little rough around the edges but has been tested by myself on a tyan machine and by phessler at theapt dot org on an HP DL145. This diff also takes a first stab and cleaning up the acpicpu dmesg spam. ok tedu, marco
2007-05-31Standardize on -1 as the error return value forKenneth R Westerback
bounds_check_with_label. All callers check for <= 0, so no functional change. Feedback from miod@. ok weingart@
2007-05-31Be consistant and use b_cylinder when saving the cylinder number forKenneth R Westerback
disksort, not b_resid. b_cylinder is defined to be 'b_resid' so no functional change. ok deraadt@
2007-05-31extend the sun disklabel format to contain filesystem types. also,Theo de Raadt
store the information fsck needs. this allows us to create raid partitions, nicely, of course. ok miod todd krw
2007-05-30Add support for iBook G4. -mojMats O Jansson
2007-05-30Q: How did _dmamap_sync() work before?Miod Vallat
A: It didn't.
2007-05-30Missed one minaddr initialization before invoking uvm_km_suballoc().Miod Vallat
2007-05-30More cpuinfo vs _KERNEL fallback.Miod Vallat
2007-05-30Make xlights(4) probe correctly on the Xserve G5, still does not correctGordon Willem Klok
the i2s timeout. ok drahn
2007-05-30Pull out the ELF loadfile pieces from the standalone libraries, so thatTom Cosgrove
both 32- and 64-bit versions can be created (previously only one or the other could be built for a given boot loader). Use this to allow the i386 and amd64 boot blocks to boot both ELF32 and ELF64 kernels (i.e. amd64 boot blocks can now load i386 kernels, and vice versa). Obviously the system must support LONG mode in order to successfully run the amd64 kernel once it is loaded. Advice and discussions from/with dale@ (going back three years). Much testing nick@ and todd@; thanks.
2007-05-29Improve copyinstr and copyoutstr by erroring out when the userlandTom Cosgrove
pointer is VM_MAXUSER_ADDRESS right up front, rather than when startig the loop. This is how it is done on i386. ok weingart@ art@
2007-05-29Improve copyinstr and copyoutstr by performing the check againstTom Cosgrove
VM_MAXUSER_ADDRESS before running the loop rather than for every byte we copy. Saves 4 bytes in locore :) Similar to how this is done on amd64. ok weingart@ art@
2007-05-29only the i810 is known to be needed for agp, reduce driver set to just thatTed Unangst
2007-05-29Make use of struct wsmouse_calibcoords and add ioctl supportRobert Nagy
for getting and passing calibration values instead of using sysctl. Move the scale struct to uts_softc so that each device can have it's own values instead of using the global one. Remove the two MD sysctl (ztsscale and ztsrawmode). ok deraadt@
2007-05-29add support for core cpu temperature sensors.Ted Unangst
from a diff by pierre riteau, but updated to look like the amd64 version ok deraadt
2007-05-29s/entrace/entrance (not obvious that the code was cut/paste =)Jason Wright
2007-05-29start of dumpconf() unification, which one day we can pray will be MITheo de Raadt
(and part of setroot); ok miod
2007-05-29Panic if the locker is self.Dale Rahn
2007-05-29Die Die Die wt.Kenneth R Westerback
2007-05-29take a lot more stuff out of userland namespace (sysctl cared about ksensor ↵Theo de Raadt
use); ok tedu
2007-05-29Remove trapwrite(), which was only used by 80386.Tom Cosgrove
Prompted by miod@, thanks.