summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-10-27use #ifdef DDB for Debugger()Jonathan Gray
2014-10-26Now that threads hold their own reference to their ucreds, sys_ktrace()Philip Guenther
doesn't need to hold an extra reference during the call ok deraadt@ millert@
2014-10-26uvm_km_valloc -> km_allocMark Kettenis
2014-10-26Add resource tracking for PCI ROMs.Mark Kettenis
ok deraadt@
2014-10-26- add board type of edgerouter proJasper Lievisse Adriaanse
- don't attach octrtc on the edgerouter pro either openbsd boots fine on this system, but as there's no ethernet support yet there's no storage at all right now. ok pirofti@
2014-10-26define octeon model cn61xx pass 1.1Jasper Lievisse Adriaanse
ok pirofti@
2014-10-26Read the section header string table in the boot blocks' memory, not in theMiod Vallat
loaded image area.
2014-10-26Don't forget to free() the malloc()s.Miod Vallat
2014-10-25Don't let qlw attach to non-sun4m yet, as this driver currently depends uponMiod Vallat
sun4m's iommu for bus_dma. (Guess what task just hit my todolist...)
2014-10-25Remove vmmap; it isn't used.Mark Kettenis
ok jsing@
2014-10-25uvm_km_valloc -> km_allocMark Kettenis
2014-10-25uvm_km_valloc -> km_allocMark Kettenis
ok mpi@
2014-10-25Add and enable qlw at sbus. Tested on QLGC,ispMiod Vallat
2014-10-25Don't attempt to suspend/resume a partially attached drm(4) driver.Mark Kettenis
Fixes a crash upon resume with an ATI FireMV 2400 card. ok jsg@
2014-10-25Display uvmexp.zeropages in ddb's `show uvmexp' command.Miod Vallat
2014-10-25Do not launch the page zeroing thread on MULTIPROCESSOR m88k systems. ThisMiod Vallat
causes a deadlock between reaper and zerothread I am currently investigating.
2014-10-25Another uvm_km_valloc(9) -> km_alloc(9) conversion.Mark Kettenis
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
Compiles on i386, which is the only architecture where COMPAT_LINUX is enabled at the moment. "If it compiles, go ahead" pirofti@
2014-10-24Always put controller into known state before device intialization.Brad Smith
From FreeBSD ok sthen@ chris@
2014-10-24Another uvm_km_valloc(9) -> km_alloc(9) conversion.Mark Kettenis
2014-10-24Bring phys_map to sparc64 and use it in vmapbuf(9) and vunmapbuf(9).Mark Kettenis
2014-10-24obvious sizes for freeTed Unangst
2014-10-24Fix indentation of closing brace.Alexander Bluhm
From Florian Riehm
2014-10-23Correctly mask IE_ALLIE during sun4/4c/4e NMI; from NetBSDMiod Vallat
2014-10-23Correctly set up the HPMC trap entry: according to the PA-RISC FirmwareMiod Vallat
Architecture Reference Specification, the sum of the 8 trap entry words *and* of the payload which address and length are to be set at well-known positions in the aforementioned trap entry, needs to be zero; the existing code was only enforcing that the sum of the trap entry words is zero. This matches what Linux and NetBSD do. ok kettenis@
2014-10-23In the various desidhash_*() functions, make sure we clear the `set to clear'Miod Vallat
bit fields with their right sizes (the L2PARERR field on PCXL processors being 4 bits wide, not 1 bit), and make comments consistent accross these functions. ok kettenis@
2014-10-23Revert limiting physmem to 2GB; the culprit was likely in uvm and uvm hasMiod Vallat
changed a lot in the last 5 years; verified to work on a 3GB system, in snapshots for a few weeks already.
2014-10-23Now that gcc2 is gone revert the removal of anonymous unions, means not ↵Brad Smith
having to modify various third party apps using the V4L2 API to build on OpenBSD specifically. "I think this is the right thing to do" miod@ "Fine with me." sthen@
2014-10-23pools lock themselves now, we just have to tell them what IPL theyDavid Gwynne
will be used from. this adds pool_setipl at IPL_VM to the crypto descriptor pools, and removes all the splvm handling around the use of those pools. tested by many via tech@ ok kettenis@ deraadt@
2014-10-23apply only the bit of r1.69 that should have been committed:David Gwynne
make the crypto taskq protect things at IPL_VM instead of IPL_HIGH. everything else in crypto.c uses splvm/IPL_VM. it seems this IPL_HIGH came about because the hand rolled task list and thread that crypto used to use was converted to workqs, which unconditionally used IPL_HIGH internally. when it was converted from workqs to tasks it blindly ported the protection workqs gave. tested by many via tech@ and snapshots ok kettenis@
2014-10-23revert previous. it did more than the commit message said it did.David Gwynne
2014-10-22make [bl]emtoh{16,32,64} take volatile const foo *, not volatile foo *David Gwynne
while in the manpage add volatile where the code has it too. ok miod@ guenther@
2014-10-22Extend domknodat() to support S_IFIFO directly and remove domkfifoat().Todd C. Miller
Both sys_mkfifo(2) and sys_mkfifoat(2) could be replace by libc wrappers using mknodat(2) at a later date if we desire. OK guenther@
2014-10-22Introduce a special hack for carp during IPv6 source address selection:Stefan Sperling
If there is a tie then a carp interface is not allowed to win even if it has an address with a longer bitwise match. This allows reliable IPv6 communication between carp master and backup across a shared IPv6 subnet. Consider the carp address 2001:DB8:10::14, which is configured on firewall A (in carp master state) and firewall B (in carp backup state), each of which has another address in the same prefix on a non-carp interface (A has 2001:DB8:10::1 and B has 2001:DB8:10::11). In this setup, A would use 2001:DB8:10::14 as source address when sending neighbour solicitations to B. Since 2001:DB8:10::14 is a local address from B's point of view, B never replied to the neighbour solicitations sent by A. With this change A uses 2001:DB8:10::1 as source address instead. ok mpi@
2014-10-22Sync offsetof() definition with what we have in <stddef.h> forDavid Coppa
userland. Fix a warning from gcc-4.9: ../../../../ufs/ufs/dir.h:113:33: warning: variably modified 'dh_firstfree' at file scope ok kettenis@
2014-10-22Remove some unused/unneeded code.Mike Larkin
2014-10-22make the crypto taskq protect things at IPL_VM instead of IPL_HIGH.David Gwynne
everything else in crypto.c uses splvm/IPL_VM. it seems this IPL_HIGH came about because the hand rolled task list and thread that crypto used to use was converted to workqs, which unconditionally used IPL_HIGH internally. when it was converted from workqs to tasks it blindly ported the protection workqs gave. tested by many via tech@ and snapshots ok kettenis@
2014-10-22Use the global piglet address variables as sparingly as possible to avoidMike Larkin
redundant copies of the same information. No functional change. Also add some comments as to how these globals are used.
2014-10-21tun(4) has a pipex session which is used for multicast internally, itYASUOKA Masahiko
wasn't freeed when the interface is destroyed. Free it properly. ok dlg
2014-10-21Style + typos in debug printfs.Masao Uebayashi
2014-10-20Be sure to return if the pci interrupt can't be mapped, instead of fallingMiod Vallat
through the remainder of the attachment logic.
2014-10-20pipex(4): Converted to use pool(9)Masao Uebayashi
OK blambert@ yasuoka@
2014-10-20use sha512 instead of md5 for tcp isn. ok deraadtTed Unangst
2014-10-20typo; deraadtTed Unangst
2014-10-20replace bzeros after allocations with M_ZERO and PR_ZERO as appropriate.David Gwynne
ok deraadt@
2014-10-20use SHA512 to hash entropy instead of MD5Ted Unangst
2014-10-20unconditionally build sha2 so we can use it in all the kernels.Ted Unangst
2014-10-19More gracefully handle firmware loading errors in ulpt(4).Stefan Sperling
The previous lack of error handling could trigger a kernel crash in some situations, with ulptwrite being called while not ready. ok deraadt phessler
2014-10-19Use sc_if->sk_pktlen to specify the maximum DMA transfer size and maximumBrad Smith
DMA segment size when setting up the TX buffers in msk_init_tx_ring(). ok jsg@
2014-10-18Don't use %r1 to refer to bit 1. No binary difference.Mark Kettenis