summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2010-07-02Move common code for waking up writers on a tty into a function.Nicholas Marriott
ok deraadt matthew millert
2010-07-02remove unused pciaddr_search function.Jonathan Gray
ok kettenis@
2010-07-02usefull -> useful;Jason McIntyre
2010-07-02Add a comment to explain why the sync is necessary in the while loop.Joel Sing
2010-07-02Apparently volatile does not mean what it is supposed to mean... avoid aJoel Sing
deadlock by adding a sync instruction to the loop. ok kettenis@
2010-07-02gremlin crept in by accidentMiod Vallat
2010-07-02timeout_add -> timeout_add_msecBret Lambert
ok miod@ some time ago
2010-07-02m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsBret Lambert
are required to detect that. Change the function to take a wait argument (used in nfs server, but M_NOWAIT everywhere else for now) and to return an error ok claudio@ henning@ krw@
2010-07-02initialize values to something sensible.Ted Unangst
ok deraadt pirofti
2010-07-02Add ability to limit memory presented to kernel withTobias Weingartner
'machine memory =128M' style commands. Thanks to phessler for finding a small man page niggle. Bumped version strings to a nice round fraction, and make them the same across the board. Easier to identify boot binary versions that way. ok thib@, tedu@, phessler@
2010-07-02Implement FPU shootdowns for hppa multiprocessor kernels. There are stillJoel Sing
some subtle bugs however these can be fixed in tree. ok kettenis@
2010-07-01When a process' FPU context is evicted or restored record which CPU theJoel Sing
context is on so that we can handle FPU shootdowns. ok kettenis@
2010-07-01Make our trapframe squeeky clean in setregs(). Avoid leaking registers intoMark Kettenis
the new process image. ok deraadt@, guenther@
2010-07-01Add more support bits for ARMv7, including frame for VIPT (pmap_prefer).Dale Rahn
2010-07-01CPU id is not enough to tell 3430 from 3530 so change the printed name.Dale Rahn
2010-07-01Synch instead of flush FPU state on APs before suspending.Mike Larkin
tested by kettenis@ on i386 and myself on amd64 ok kettenis@
2010-07-01Ensure that IPIs have priority and are run first to avoid deadlock. ThisJoel Sing
is a rather ugly hack and needs to be revisited at a later date. ok kettenis@
2010-07-01Typo in comment.Mike Larkin
ok oga@
2010-07-01I accidentally whacked something important. Sorry.Ted Unangst
2010-07-01another day, another compat gets removed. today is ibcs2's turnTed Unangst
2010-07-01- don't do curupte checks if the current miss address is user spaceJasper Lievisse Adriaanse
from netbsd ok miod@
2010-07-01Backout recent AML changes, breaks on R210 and othersJordan Hargrave
2010-07-01Create a struct to store FP state and include a pointer to the CPU thatJoel Sing
currently holds the FPU context for this process. This will be soon used to implement FPU shootdowns on multiprocessor kernels. ok kettenis@
2010-07-01Provide uvm constraints.Joel Sing
ok kettenis@ thib@
2010-07-01Provide safepri.Joel Sing
2010-07-01Fix incorrect function prototype.Joel Sing
2010-07-01Add missing function prototypes.Joel Sing
2010-07-01Provide mtsp() via cpufunc.h.Joel Sing
2010-07-01Pull in atomic.h and intr.h.Joel Sing
ok kettenis@
2010-07-01Add missing function prototypes and fix order of includes.Joel Sing
2010-07-01Shuffle function prototypes, add missing include and add missingJoel Sing
prototypes. ok kettenis@
2010-07-01Add stubs for soft interrupts.Joel Sing
ok kettenis@
2010-07-01Include atomic.h via lock.h like other architectures do.Joel Sing
ok kettenis@
2010-07-01Partially sync atomic.h with hppa so that we get real atomic ops and someJoel Sing
missing functions. ok kettenis@
2010-07-01mark acpi_savecpu with the gcc returns_twice attribute as suggestedJonathan Gray
by deraadt so the stack will be sane during suspend/resume with gcc4. Noticed on i386 due to the lack of general purpose registers compared to amd64. ok deraadt@ mlarkin@
2010-07-01Change scsibus(4)'s scsi_link array to an SLIST to save memory onMatthew Dempsky
sparsely populated buses. ok dlg@, krw@
2010-07-01Add a look-up table for machines that have special vga cards. This table willPaul Irofti
tell, based on vendor/product/subvendor/subproduct ids, how the video reposting should be done: via the emulator or the bios video call in locore. The default is to do none of those, which is how most machines work. Okay kettenis@, deraadt@.
2010-07-01More accurate comment as to what happens with acpi_savecpuMike Larkin
ok deraadt@
2010-07-01Add things to enable aesni either ifdef'ed or commented out to easeThordur I. Bjornsson
testing. Note: aesni is not in a usable state yet! OK deraadt@
2010-06-30remove a compat_osf1 fileTed Unangst
2010-06-30remove compat_osf1 support from the kernelTed Unangst
ok deraadt miod
2010-06-30Remove the ``never cache virtual addresses in the DVMA range'' inMiod Vallat
pv_changepte4m() since DVMA addresses are never loaded in the SRMMU; this chunk was forgotten in the previous `don't steal DVMA out of kernel_map on 4m' commit.
2010-06-30amd64_pa_used is weird.Owain Ainsworth
We check a bunch of things, where most archs are a lot more simple. Also, we get problems sometimes: My x201 can't map the framebuffer BAR from the aperture with the chunk that checks the bios sections, meaning the bios is claiming something about it. Kettenis@ and I are pretty sure that the rest of the checks are more than sufficient, so just nuke that one. for the record, in the same situation i386 just checks again VGA_START, BIOS_END and physmem. ok kettenis@
2010-06-30Make this compile after TTYHOG definition change (but the logic should be fixedMiod Vallat
to not depend on it).
2010-06-30Remove #ifdef CRYPTO. config will do this for us.Thordur I. Bjornsson
2010-06-30get rid of a few c++ comments and a few spacing nitsThordur I. Bjornsson
2010-06-30remove two useless defines.Thordur I. Bjornsson
fixup arguments to the fpu_kernel_enter/exit. from mike
2010-06-30change a pair of timeout_add calls to timeout_add_{,m}secBret Lambert
ok dlg@
2010-06-29make the xcrypt match the jsg code in opensslTheo de Raadt
2010-06-29Add support for mapping ACPI to PCI devicesJordan Hargrave
ok kettenis, deraadt