summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-01-13Remove the Mac Rom Glue code completely. With the ADB ``direct'' code beingMiod Vallat
used by default, and since all PRAM accesses are either directly fiddling with VIA registers or through ADB commands, the MRG code has no reason to stay. This means the kernel is now not running unknown PROM code anymore.
2006-01-13Allow proper detaching of wdc, so that detaching a mediabay device properlyMiod Vallat
releases resources and works as expected. Thanks to Thomas Maschutznig for testing.
2006-01-13Fix printf format string due to types changeTodd C. Miller
2006-01-13Make size_t, ssize_t, intptr_t and uintptr_t consistent amongst ourTodd C. Miller
architectures. They are now defined as unsigned long, long, long and unsigned long respectively.
2006-01-13white space vs tabs; no binary changeMichael Shalayeff
2006-01-12Move to using gdt only (no more ldt in general case) but with a variableTobias Weingartner
limit selector, so that the w^x line can float much more dynamically. Much work done by tom. Tested by various people. Addresses concerns of (Julien Tinnes) <julien ATHOST cr0.org>
2006-01-12oopsTheo de Raadt
2006-01-12after range-checking save nkpde back; toby@ ok and discussion w/ hshoexer@Michael Shalayeff
2006-01-12- add a missing htons() to the receive checksum routine to fixBrad Smith
checksumming on little endian systems. - only set the Ok flag in the checksum routine. Checksumming fix from: Pyun YongHyeon <pyunyh at gmail dot com>
2006-01-12Fix up interrupt routing on SiS 963.Jonathan Gray
From Ian McWilliam ian at dodo.com.au. ok mickey@
2006-01-11Use bounded string functions while constructing the disassembly lines; plusMiod Vallat
this compiles into smaller code!
2006-01-11Let's move the orphans to the Attic.Miod Vallat
2006-01-11hotplug(4) and hotplugd(8) hereMartin Reindl
2006-01-11Switch to __HAVE_DEVICE_REGISTER to find the device we're booted from.Miod Vallat
Simpler, better.
2006-01-10Simplify external macfb interfaces, kill an intermediate attachment structure.Miod Vallat
2006-01-10The __CONCAT macro here collides with the one in cdefs.h pulled in viaMartin Reindl
errno.h. Don't include errno.h and export EFAULT therefore, similiar to hppa.
2006-01-10missing cast to vaddr_tMartin Reindl
2006-01-10struct cfdriver shall not be declared as const (oops).Miod Vallat
2006-01-10need sys/types.h for vaddr_tJolan Luff
2006-01-10Really pass -fno-stack-protector in CFLAGS as intended, and define theMiod Vallat
load addresses in one single place; from mvme88k
2006-01-10cull the deadTheo de Raadt
2006-01-10comment amdpmTheo de Raadt
2006-01-10use ${INSTALL_STRIP} ok miodTheo de Raadt
2006-01-10The __CONCAT macro here collides with the one in cdefs.h pulled in viaMartin Reindl
errno.h. Don't include errno.h and export EFAULT therefore. looks good miod@
2006-01-10Remove duplicate _C_LABEL define. OK miod@Todd C. Miller
2006-01-09Fix last change; we need machine/reg.h for struct sigcontext toTodd C. Miller
be fully defined.
2006-01-09Spank the clock: remove relics of old GPROF code, compute tickfix forMiod Vallat
better clock adjustment, consider clocks past year 2010 as possible, and do not display the PRAM clock if it consistent.
2006-01-09Introduce a wsdisplay type for mac68k frame buffers; we might need to becomeMiod Vallat
less generic in the future, though.
2006-01-09Disable an(4) on BE archs until it works.Jonathan Gray
2006-01-09Remove clock tick adjustment computation inherited from luna68k where someMiod Vallat
models run with hz=60.
2006-01-09Remove completely obsolete comment from the pre-wscons sparc days inMiod Vallat
zs_getc().
2006-01-09Ditch the grf frame buffer abstraction, and directly attach macfb toMiod Vallat
either obio or nubus. No functional change, shaves a few more KB...
2006-01-09Remove duplicate defines with if_ether.hMiod Vallat
2006-01-09amdpm also exists as a 2nd iic bus on amd8111 machinesTheo de Raadt
2006-01-09Restore console bell functionnality lost in the wscons merge.Miod Vallat
2006-01-09Use protected version of register_t in struct sigcontext for theTodd C. Miller
case where _XOPEN_SOURCE was defined but BSD-specific types are not visible.
2006-01-09Enable hotplug(4); Tested by Michael Knudsen and me;Robert Nagy
ok brad@ deraadt@
2006-01-09skip the darn cereal devices, which i think are just markers for the host ↵Theo de Raadt
chip i think
2006-01-08Remove unused grf_softc members; do not keep temporary data in grf_softcMiod Vallat
either, instead keep it on the stack or directly in attachment structures. No functional change.
2006-01-08Don't provide bass and treble mixer controls if the underlying hardware doesn'tMark Kettenis
provide these. Put them in the outputs class. ok joris@
2006-01-08Drop native MacOS support from the adb direct code, and skip callbackMiod Vallat
wrappers used to convert between MacOS pascal calling convention and the C calling convention, unless option MRG_ADB. No functional change.
2006-01-08Display unhandled adb devices as "whatever at adb0 addr X" like all buses do;Miod Vallat
while there, make the detailed descriptions dependent on ADBVERBOSE (enabled in GENERIC) instead of DIAGNOSTIC.
2006-01-08Advertize color on non-indexed modes, and swap blue and red at 16bpp (might beMiod Vallat
necessary at 24 and 32bpp as well).
2006-01-08Use Nubus-related constants from <machine/cpu.h> instead of hardcoded values.Miod Vallat
2006-01-08Switch macfb from an rcons backend to a rasops backend; supposedly restoresMiod Vallat
all pixel depth operation, but there are still font display problems at 4bpp and 16bpp at the moment; also make sure the display is white on black, whichever colour depth we are in.
2006-01-08Oops, don't forget to initialize the raw repeat timeout; lost while cleaning.Miod Vallat
2006-01-08Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2Todd C. Miller
2006-01-07Do not set ZS_HWFLAG_CONSOLE if we are only using the serial line forMiod Vallat
``serial boot echo''.
2006-01-06Don't redefine SIZE_MAXTodd C. Miller
2006-01-06Don't add the same function twice when ordering the functions of a PCI device.Mark Kettenis
Prevents alipm(4) attaching twice on Blade-100. ok deraadt@