summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2010-08-28Correctly compute memory size if less than 256MB.Miod Vallat
2010-08-28Garbage collect struct dkdriver.Matthew Dempsky
ok miod@; "please go ahead" jsing@
2010-08-27Run powerhooks with interrupts blocked. This requires a bit of a song andTheo de Raadt
dance since some laptops unsuspend out of apm with interrupts enabled?! That causes problems with shared interrupts... but also it would be best if we treat powerhook functions (now backed by activate functions) the same as acpi treats them, and it means that the powerhook wrappers don't need to do their own spl protection. ok kettenis
2010-08-27caught a small typo while reading the code: senor -> sensorRobert Nagy
2010-08-27remove the unused if_init callback in struct ifnetJonathan Gray
ok deraadt@ henning@ claudio@
2010-08-27screen blanking code for SM502, and some smfb code cleanup.Miod Vallat
2010-08-27More killing of PWR_STANDBY. cvs skipped these filesTheo de Raadt
2010-08-27kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumberTheo de Raadt
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME} so that we can eventually (many more steps...) kill the powerhook garbage and use the activate mechanism. no objections
2010-08-26Screen burner support for SM712 flavour (Lemote Yeeloong)Miod Vallat
2010-08-25Remove the SPARC_BOOT_ELF define and associated machinery since it doesJoel Sing
not make sense to compile ofwboot without support for ELF. Whilst here, nuke the unused SPARC_BOOT_NFS define and compile elf64_exec.c as an object rather than including it in boot.c. ok miod@
2010-08-23Implement bus_space_barrier() on sgi; on xbridge, this will also flushMiod Vallat
the pci write buffers.
2010-08-23Rework the logic of xbridge pci_conf_{read,write} to avoid doing the disableMiod Vallat
bridge interrupts dance when trying to access an uninplemented ioc3 register. Makes PIC handling simpler as a bonus.
2010-08-21Rename file to reflect that it handles 64 bit ELF only.Joel Sing
ok miod@ (some time ago)
2010-08-21We only need to load 64 bit kernels on sparc64. Clean up the ELF boot codeJoel Sing
and let exec_elf.h do the right thing. ok miod@ (some time ago)
2010-08-19Add "memory" clobber to lidt inline asm, to prevent the GCC optimizer fromMark Kettenis
getting stupid ideas like optimizing away stores to the descriptor that we're setting. This may be overkill, but this code is far from performance critical and it may prevent future surprises. Fixes instant reboots with bsd.rd on Pentiums with the F00F bug. Thanks to espie@, for narrowing the issue down enough for me to find the problem. ok deraadt@
2010-08-18- remove COMPAT_LINUX bits. these architectures are not targetted by theJasper Lievisse Adriaanse
linux emulation layer, nor will they in the future. ok miod@
2010-08-17Make sure fast trap handlers correctly invoke soft interrupts by markingMiod Vallat
them explicitely pending before triggering the softintr; I am ashamed I did not notice this when changing the soft interrupt code 18 months ago. Noticed by claudio@ and beck@
2010-08-16Restore initialization of apcicnaddr which got accidentally removed in revisionMiod Vallat
1.5, about 5 years ago. My bad. ok deraadt@
2010-08-16Make sure we reserve enough room after the kernel image to avoid stompingMiod Vallat
over the PROM page tables on sun4c; also crank the tape kernel generous size estimate to 4MB; crank version. ok deraadt@
2010-08-16Add a dummy elf64.c, effectively removing support for loading 64-bit kernelsMark Kettenis
from cdboot to slim it down below the 32k limit.
2010-08-13Fix indentation.Mark Kettenis
2010-08-11Disable the RTC the periodic interrupt. Leaving it enabled causes theMark Kettenis
Dell Inspirion 4150 to wake up immediately even though RTC_EN isn't set in the PM1 Enable register. ok deraadt@, mlarkin@
2010-08-11crank versionTheo de Raadt
2010-08-11De-inline CHS_rw. Somehow the merger of two monster __asm __inline statementsTheo de Raadt
into one function is generating broken code; it might be because of missing register clobbers. This is a workaround... it'd be nice to know the real problem work done with mlarkin and pirofti
2010-08-10add a description for bsd.sp where appropriate; while here, writeIgor Sobrado
"multiprocessor" in a consistent way. written with lots of good advice from jmc@, who noted that changing hier(7) was not enough and carefully reviewed this diff. ok jmc@
2010-08-10spaces and tabs, no binary changeMarco Peereboom
2010-08-10Someone went nuts with spaces and tabs. No binary change.Marco Peereboom
2010-08-08Accept "ACPI 4" or such, bug in laptop or spec? -- Thinkpad SL510Theo de Raadt
from marco, ok kettenis, hard to argue with it making the laptop work
2010-08-08Restore the APIC ID to what we set it to at boot (some machines come upTheo de Raadt
with it incorrect) from mklarkin, ok kettenis
2010-08-08Reenable acpiasus(4). The bogus code is actually dead code, and jsing@'sMark Kettenis
eeepc panics without this driver (which must be a bug in the acpi code that this driver just hides).
2010-08-08Disable acpiasus(4); it violates the rule that only the acpi thread is allowedMark Kettenis
to run AML in several ways.
2010-08-07On resume, re-activate the host RNG on the host bridges that need it.Theo de Raadt
ok kettenis
2010-08-07No "\n" needed at the end of panic() strings.Kenneth R Westerback
Bogus chunks pointed out by matthew@ and miod@. No cookies for marco@ and jasper@. ok deraadt@ miod@ matthew@ jasper@ macro@
2010-08-07No "\n" needed at the end of panic() strings.Kenneth R Westerback
Some stragglers from last diff.
2010-08-06Every time you ignore uiomove() return value, $DEITY kills a littleMiod Vallat
$ADORABLE_FELINE. ok deraadt@ matthew@
2010-08-05new i386/amd64 machdep.lidsuspend sysctl which decides whether a lidTheo de Raadt
close causes a suspend. resumes are not tied to this; they happen unconditionally. this is a temporary knob for the 4.8 release; afterwards it will move to a more convenient place much moaning discussing where to put the knob with kettenis tested by various including phessler
2010-08-04Disable bce(4) because it can only access 1GB of memory and developersTheo de Raadt
who have the device (only found in laptops) refuse to realize it is their own problem and should dig into the code and fix it.
2010-08-04Disable bce(4) because it can only access 1GB of memory and developersTheo de Raadt
who have the device (only found in laptops) refuse to realize it is their own problem and should dig into the code and fix it.
2010-08-02Add System Enclosure or Chassis structure.Marco Peereboom
ok deraadt
2010-08-02enable owctrTheo de Raadt
2010-08-02correct header file stuff; pointed out by teduTheo de Raadt
2010-08-02needs explicit proc.h; Nathanael RensenTheo de Raadt
2010-08-01Small cleanup of the fpu switching code; don't rely on the fact the HFP_REGSMark Kettenis
is actually zero and remove a redundant instruction. ok jsing@
2010-08-01ANSIfyMark Kettenis
2010-07-31remove references to ``opl'', since it doesn't exist any longerAlexandre Ratchov
noticed by brad
2010-07-31Ignore the PSL_VEC bit in the sigcontext and always copy the bit out fromMark Kettenis
the trap frame. The Altivec unit might have been stolen away from us while we were running the signal handler, so it is ok that the two don't agree. Fixes the X server mysteriously exiting (and seemingly freeze). ok miod@, drahn@
2010-07-31Factorization of the bluetooth and usb hid input driver logic, to reduce codeMiod Vallat
duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
2010-07-31remove the ``midisyn'' framework and anything using it, i.e., the oplAlexandre Ratchov
device and the midi interface to pcppi.
2010-07-30When converting a floating value to an integer, properly raise the "invalid"Mark Kettenis
exception when the floating value is infinite or NaN or if the integral part of the floating value exceeds the range of the integer type, as required by the C99/IEEE754 standard. Fixes Python 2.6 build on hppa. ok miod@
2010-07-30Remove unused header file.Miod Vallat