summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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-01regenJonathan Gray
2010-07-01Add the Intel Rate Matching Hub, which is builtin to 3400/PCH chipsetsJonathan Gray
to remove the need for a companion uhci controller.
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-01Call malloc(9) with M_ZERO to prevent code paths from exposingMatthew Dempsky
uninitialized memory to user space or devices. ok deraadt@, dlg@
2010-07-01Restore setting xs->bp; fixes ncr(4) on VAX.Matthew Dempsky
ok miod@, krw@
2010-07-01Always identify threads with THREAD_PID_OFFSET, so that there's noPhilip Guenthe
way a kill() intended for a thread can result in a separate process getting the signal. ok tedu@ art@
2010-07-01Make it possible to get the screen types and emulations for a wsdisplay.Mats O Jansson
Information needed for wsconscfg. feedback and ok miod@. -moj
2010-07-01Put SO_PEERCRED into the non-flag areaTheo de Raadt
suggested by guenther
2010-07-01Allow to specify an alternative enc(4) interface for an SA. AllReyk Floeter
traffic for this SA will appear on the specified enc interface instead of enc0 and can be filtered and monitored separately. This will allow to group individual ipsec policies to virtual interfaces and simplifies monitoring and pf filtering with many ipsec policies a lot. This diff includes the following changes: - Store the enc interface unit (default 0) in the TDB of an SA and pass it to the enc_getif() lookup when running the bpf or pf_test() handlers. - Add the pfkey SADB_X_EXT_TAP extension to communicate the encX interface unit for a specified SA between userland and kernel. - Update enc(4) again to use an allocate array instead of the TAILQ to lookup the matching enc interface in enc_getif() quickly. Discussed with many, tested by a few, will need more testing & review. ok deraadt@
2010-07-01syncTheo de Raadt
2010-07-01compat_o43 and compat_23 are no longer optionsTheo de Raadt
2010-07-01We have to add enc0 to the "enc" interface group manually on boot.Reyk Floeter
Adopted from the loop lo0 code.
2010-07-01compat_o43 and compat_23 can dieTheo de Raadt
2010-07-01turn off COMPAT_O43Theo de Raadt
2010-07-01Simplified aml_parse_resource call, cleanup codeJordan Hargrave
ok marco
2010-07-01Fix subordinate bus # for multi-root PCI busesJordan Hargrave
ok marco, kettenis
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-01remove crappy old README filesTed Unangst
2010-07-01any TODO containing the item "Use lock manager locks." is provably wrong.Ted Unangst
ok dlg
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-07-01I'm not sure where this TODO comes from, but it contains such exciting liesTed Unangst
as "should run as a user process"
2010-07-01the only thing left on the raidframe TODO list is to go awayTed Unangst
2010-06-30Disable/partially backout the bufq quiesce changes as thisThordur I. Bjornsson
is causing havoc with vnds and release must be buildable.
2010-06-30This comment is unnecessarily confusing.Artur Grabowski
2010-06-30syncPeter Hessler
2010-06-30add Realtek RTL8171Peter Hessler
from Brad
2010-06-30Silence the activation debug reporting. We are starting to get worriedTheo de Raadt
that there are interactions when we print in the various (saved, post-saved, pre-restored, and restored) vga states, especially with how intel drm is getting involved. If your machine has issues, you may want to activate these messages again to help debug things better. ok mlarkin
2010-06-30Merge from NetBSD: "Linux's getsid(2) does in fact return a pid,Philip Guenthe
not a pointer." So just use the native implementation. ok deraadt@
2010-06-30style nitThordur I. Bjornsson
2010-06-30remove a compat_osf1 fileTed Unangst
2010-06-30delete osf1 compat filesTed Unangst
2010-06-30timeout_add -> timeout_add_msecBret Lambert
ok jakemsr@, who promises to deal with any fallout, because he's a stand-up guy
2010-06-30remove compat_osf1 support from the kernelTed Unangst
ok deraadt miod
2010-06-30This needs sys/sysctl.h to compile.Claudio Jeker
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-30knf function decleration nit.Thordur I. Bjornsson
2010-06-30Add getsockopt SOL_SOCKET SO_PEERCRED support. This behaves similar toTheo de Raadt
getpeereid(2), but also supplies the remote pid. This is supplied in a 'struct sockpeercred' (unlike Linux -- they showed how little they know about real unix by calling theirs 'struct ucred'). ok guenther ajacoutot
2010-06-30timeout_add -> timeout_add_msecBret Lambert
"I agree that hz / 10 is 1/10 of a second, which is 100 milliseconds" krw@
2010-06-30for scsibus, silence the activate function when unknown events are given.Theo de Raadt
they are supposed to do, or be silent. ok mlarkin
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-30Cleaned up aml name parser, delete unused codeJordan Hargrave
ok marco
2010-06-30Use SLIST for the ccb free list.Michael Knudsen
ok krw, discontent grunts from marco.
2010-06-30Use a SLIST for the ccb free list.Michael Knudsen
ok krw
2010-06-30Flush cache before suspend.Mark Kettenis
ok krw@, marco@
2010-06-30Use SLIST instead of TAILQ for the ccb free list.Michael Knudsen
ok krw