summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-01-10Let "ddb show mbuf" print all mbuf fields in a consistent way. MoveAlexander Bluhm
bit field names into the header file below the definitions to keep them in sync. OK mikeb@ mpi@
2014-01-09replace Bcopy macro with memmove and memcpy. ok mpiTed Unangst
2014-01-09Fix the burner method, here the cookie is a pointer to rasops_info.Martin Pieuchot
Problem noticed by Nick Gray and brett@ and analysed with mikeb@. ok jsg@
2014-01-09bzero/bcmp -> memset/memcmp. ok matthewTed Unangst
2014-01-09tiny tweak to asm. prefer memcpy and memmove, with bcopy wrapperTed Unangst
ok guenther
2014-01-08regenBrad Smith
2014-01-08Use the same naming scheme on both sides for the Attansic entries andBrad Smith
replace some tabs with spaces in between product and Intel.
2014-01-08Name the local variables for struct ifaddr consistently "ifa".Alexander Bluhm
OK mikeb@
2014-01-08Fix typo recieve -> receive.Alexander Bluhm
OK sf@
2014-01-08regenjoshua stein
2014-01-08add a bunch of newer apple wellspring keyboard/trackpad idsjoshua stein
2014-01-08Be sure to have pmap_extract() return FALSE for existing, but non-valid userMiod Vallat
pmap ptes. Found the hard way by tobiasu@.
2014-01-08Perform manual malloc/free of a large object in pfkeyv2_send() toTheo de Raadt
reduce stack space requirements. ok mikeb mpi
2014-01-07Propagate an rdomain number to the nd6_lookup independently fromMike Belopuhov
the ifp pointer which can be NULL. This prevents a crash reported by David Hill <dhill at mindcry ! org>. OK bluhm
2014-01-07Some follow-up fixes for IFID collision handling in IPv6CP.Stefan Sperling
Really change the link-local address in the unlikely event of an IFID collision, instead of going into an infinite conf-nak loop with the peer. To make the netinet6 code use the IPv6CP IFID in a new link-local address, in6_ifattach_linklocal() must accept a provided IFID. Replace the unused 'altifp' parameter with a new 'ifid' parameter for this purpose. Always use the latest suggested address in IPv6CP replies, even if the task to update the interface's address hasn't run yet. Also, clear the ifindex (KAME hack) in addresses sent during IPv6CP. ok mpi
2014-01-07syncTheo de Raadt
2014-01-07some more devices; Alexey E. SuslikovTheo de Raadt
2014-01-07syncTheo de Raadt
2014-01-07FTX support; from Chris HettrickTheo de Raadt
2014-01-07Remove unused fields.Martin Pieuchot
ok sasano@
2014-01-07Increase the size of the bge_flags field to allow for more flags.Brad Smith
ok mikeb@
2014-01-07Delay checking the vnode locking of the target vnodes in tmpfs_rename()Philip Guenther
until we've confirmed they're on the same filesystem as the source: not all filesystems do locking the same. problem report and testing chrisz@ ok espie@
2014-01-06document random buffer must be multiple of 4 in sizeTheo de Raadt
2014-01-06Disable the code disabling memory beyond 1.5GB on Octane temporarily, butMiod Vallat
hopefully for good; I believe the kernel panics with large memory fast MP systems have been fixed in mutex.c 1.13
2014-01-06Use the dedicated BCD macros from sys/time.h instead of handrollingPaul Irofti
our own for the m41t8x clocks. Tested by me and jasper@. Okay jasper@, guenther@, deraadt@
2014-01-06typoMiod Vallat
2014-01-06Fix sparc64 kernel profiling, add the etext symbol back.Tobias Ulmer
ok miod@
2014-01-06In readsgilabel(), do not override the driver-provided initial geometry withMiod Vallat
the volume header geometry, if one is found. The driver knows better. This will allow a 2048-byte sector media to use a volume header using fake 512-byte sectors, and still be able to read the native label off it.
2014-01-06Put PG_EXEC and PG_FOE into the PG_PROT mask, and make sure the defaultMiod Vallat
pte protection masks, as initialized in alpha_protection_init(), set PG_FOE by default when VM_PROT_EXECUTE is not set. Also, change pmap_emulate_reference() to only clear PG_FOE if the affected pte has executable permission. This allows various pmap_pte_exec() checks (added to explicitely set PG_FOE) to be removed. All tests of regress/sys/kern/noexec now reliably pass on EV5. EV6 systems still see spurious (but no longer 100% reproduceable) failures of the `catch a signal' tests, which is likely caused by the effect of mprotect() removing execute permission not taking effect correctly, despite PAL IMB being issued (and no, this is not caused by the previous pmap_changebit() change), to be investigated.
2014-01-06Remove I-sync stuff from pmap_changebit(). The AARM says that weMiod Vallat
only have to sync the I-stream when the mapping is removed or changed, and since the I-stream is fetch-only, changing protection bits does not constitute changing the mapping (the VA->PA translation is still the same). From NetBSD
2014-01-06Program window #2 to allow the second GB of low memory to use direct DMA;Miod Vallat
adapted from a long gone FreeBSD.
2014-01-06Make macppc/socppc boot() code path more similar to others.Masao Uebayashi
This changes calling boot() during (cold != 0) to not call if_downall() and uvm_shutdown(). Both of which must not be specific to PowerPC. OK mpi@
2014-01-06Increase NPTECL, as cache-lines are 64-bytes nowadays.Stefan Fritsch
Also move it from pmap.h to pmap.c because it is an internal detail.
2014-01-06Make in6_ifdetach() remove the ff01::1 route for the detaching interface, too.Stefan Sperling
The route used to linger after an interface detached from IPv6. ok mikeb
2014-01-06Recognize the ALC292Brad Smith
2014-01-05regenBrad Smith
2014-01-05Add Realtek RTS5227Brad Smith
2014-01-05HIBERNATE_SELTABLE is not used anymore. Remove, and reclaim its stolenMike Larkin
page.
2014-01-05Don't use the first 64KB for anything, including tramps. Move tramps andMike Larkin
hibernate goo up after 64KB to avoid posible corruption by buggy BIOS SMM code. Diff also ensures the first 64KB doesn't get handed to UVM either. ok deraadt@, tested by many with no regressions reported
2014-01-05On some architectures you can get away with using an uninitialised mutex;Joel Sing
this is not the case on hppa (practically the only architecture where unlocked has a non-zero value). This one has been hiding since r1.223... Found the hard way by juanfra@
2014-01-05Cleanup some leftovers from previous changes.Miod Vallat
2014-01-04Fix of_cmap[] size. Makes the textmode cursor reappear on vgafb (i.e.Miod Vallat
non-radeon) systems.
2014-01-04Add rnddata[] placeholders to make these boot blocks build again.Miod Vallat
2014-01-03Purging a queue requires it to be non-empty, not empty.pelikan
ok millert
2014-01-03KNF, update comments, and delete LUNA(m68k) specific DIPSW comments.Kenji Aoyama
No functional change.
2014-01-03Switch frequently allocated structs from malloc(M_DEVBUF) to separate pools.pelikan
ok henning, "looks fine" mikeb, input from guenther.
2014-01-03Make queues disappear correctly on interfaces being destroyed.pelikan
ok henning
2014-01-03regenJoel Sing
2014-01-03Fix previous commit, which clearly was not even compile tested, since itJoel Sing
broke the tree.
2014-01-03regenBrad Smith