Commit Graph

212182 Commits

Author SHA1 Message Date
skrll
1666b8f054 Fix racy softint dispatch that lead to KASSERT(si->si_active) in
softint_execute

Discussed with matt@. "Looks good to me"
2012-07-16 06:26:43 +00:00
pgoyette
98b25da649 Enable entropy gathering 2012-07-16 01:52:37 +00:00
mrg
dd3d2239c3 commit my workaround for PR 46648 for now, as the more involved
fix is not ready yet:

move the clear endpoint stall async call into the task thread,
to avoid trying to call kmem_alloc() from a softint thread.

XXX ideally moving callbacks into the task thread (or perhaps
a different high priority task thread) would be better than this
workaround, once that method is working.
2012-07-15 21:13:31 +00:00
matt
fc6225f872 Add stream methods 2012-07-15 20:53:23 +00:00
matt
f2d981b61c Add byte-swap versions.
Use RET and RETc(c)
Use ENTRY_NP
2012-07-15 20:48:53 +00:00
matt
2452897b93 s/u_int*_t/ -> uint_*_t
Add swap variants for many accessors.
2012-07-15 20:44:20 +00:00
matt
67e5bbcb5f Add BSWAP16 and BSWAP32 macros for use in assembly. 2012-07-15 19:59:48 +00:00
pgoyette
4438cf030d Note recent linking of sysmon_envsys(8) with rnd(4) 2012-07-15 18:38:44 +00:00
pgoyette
5c63095119 Document the new SYSMON_FHAS_ENTROPY flag. 2012-07-15 18:34:03 +00:00
pgoyette
87d1d2214b If a sensor is flagged as capable of providing rnd(4) with entropy,
hook the sensor into rnd subsystem, and make sure we periodically
refresh the sensor whether or not it is being actively monitored.
2012-07-15 18:33:07 +00:00
pgoyette
1849817576 Add a new (dummy) event type so we can use it for forcing sensors to be
refreshed even when the sensor is not being monitored.
2012-07-15 18:31:35 +00:00
pgoyette
0bc91edaa9 When unregistering a sensor device, make sure we unregister and delete
all the associated events.
2012-07-15 17:41:39 +00:00
jakllsch
ec123dfac9 Stopgap crash prevention when atadebug_mask includes DEBUG_PROBE bit. 2012-07-15 15:49:46 +00:00
dsl
c578e8d211 Rename MDP_IRET to MDL_IRET since it is an lwp flag, not a proc one.
Add an MDL_COMPAT32 flag to the lwp's md_flags, set it for 32bit lwps
  and use it to force 'return to user' with iret (as is done when
  MDL_IRET is set).
Split the iret/sysret code paths much later.
Remove all the replicated code for 32bit system calls - which was only
  needed so that iret was always used.
frameasm.h for XEN contains '#define swapgs', while XEN probable never
  needs swapgs, this is likely to be confusing.
Add a SWAPGS which is a nop on XEN and swapgs otherwise.
(I've not yet checked all the swapgs in files that include frameasm.h)
Simple x86 programs still work.
Hijack 6.99.9 kernel bump (needed for compat32 modules)
2012-07-15 15:17:56 +00:00
spz
1fdd2bae8c add function switch to switch on/off "wireless WAN", aka GSM et al modem
not tested to actually work, extensively tested not to do any harm if you
don't have a wwan
2012-07-15 11:52:01 +00:00
dsl
c9fe3ca8c3 Some namespace protection (and add greppablity).
Prefix the DRIVE_ and DRIVET_ constants from atavar.h with ATA_.
Don't use an enum for drive_type - you don't know how big it will be.
Move driver_type to avoid implicit structure padding (esp on arm).
This change is purely lexical and mechanical.

Update to 6.99.9 - this wasn't done when the SATA PMP changes
were made - I'm sure they warranted a bump.
2012-07-15 10:55:27 +00:00
spz
c168ad8961 Use after free (Coverity 273146) 2012-07-15 09:13:59 +00:00
spz
b1a40de246 resource leak (Coverity issues 274383 and 274384) 2012-07-15 09:08:29 +00:00
matt
a8a82a563c Add support for the Freescale TWR-P1025 evaluation board and the P1025/P1016
QorIQ processors.  XXX tsec isn't working yet on the TWR-P1025.
2012-07-15 08:44:56 +00:00
matt
c154c1f08c Use ldrexb/strexb for ARMv6 and above platforms since
"swp{b} use is deprecated" for them.
2012-07-15 08:26:21 +00:00
matt
670d18da6c Regen. 2012-07-15 07:31:18 +00:00
matt
5066e7176b Add AR8035 2012-07-15 07:30:57 +00:00
jakllsch
704527ab00 Fix obvious copy/paste-induced error (my fault) that would clobber
the bottom 24-bits of r_lba during a LBA48 command with AT_READREG.
2012-07-15 01:15:03 +00:00
rmind
a3b239f6f3 - Rework NPF tables and fix support for IPv6. Implement tree table type
using radix / Patricia tree.  Universal IPv4/IPv6 comparator for ptree(3)
  was contributed by Matt Thomas.
- NPF tables: update regression tests, improve npfctl(8) error messages.
- Fix few bugs when using kernel modules and handle module autounloader.
- Few other fixes and misc cleanups.
- Bump the version.
2012-07-15 00:22:58 +00:00
rmind
4c826f2231 ptree_find_filtered_node: make key argument const. 2012-07-15 00:16:28 +00:00
abs
e1e1c8c184 Check for ${HAVE_GCC} and pick the right path to stdc++ 2012-07-15 00:05:51 +00:00
mlelstv
2b8403e3b4 update lists after version bump of libc. 2012-07-14 22:37:41 +00:00
abs
2a4ad09fef racd *should* be ejectable. Kernel side to come 2012-07-14 20:41:27 +00:00
abs
d149c09c58 Add a check hack to ensure %m causes error message string to be shown 2012-07-14 20:32:39 +00:00
wiz
2dae1f92be From Bug Hunting:
Sync usage with man page.
2012-07-14 20:14:17 +00:00
wiz
2554af119a From Bug Hunting:
- use more common option list header line;
- remove superfluous `.Pp' macro (fixes mandoc(1) warning);
- bump date.
2012-07-14 20:13:30 +00:00
jmmv
b34eebd930 Add umass to the macppc INSTALL kernel so that it is easier to perform
USB-based installations by reading the release files from a USB drive.
2012-07-14 18:50:22 +00:00
matt
84b1adeab7 Add code to protect the ptree from multiple insertions of the same node. 2012-07-14 18:16:54 +00:00
wiz
ecdcf3a9e9 Bump date for previous. 2012-07-14 17:12:27 +00:00
spz
67d12f6407 more MKCRYPTO_IDEA and MKCRYPTO_MDC2 removal (resp, adjustment to IDEA and
MBC2 now always being included)
MKCRYPTO_RC5 now builds shared libs, add the missing files to sets
2012-07-14 16:04:04 +00:00
darrenr
3ec957d580 bin/46703: BSD r-commands use wrong source address for stderr
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=46703
Bump libc minor for the addition of rresvport_af_addr()
2012-07-14 15:06:26 +00:00
christos
046cd0a870 no more CRYPTO_{IDEA,MDC2} 2012-07-14 14:13:03 +00:00
hans
6ba952cb41 Support cpu_sleep() on Sheeva CPUs. 2012-07-14 12:59:55 +00:00
rkujawa
1c781ae3a9 s/Jukly/July/ 2012-07-14 10:24:59 +00:00
wiz
87c4be511f Bump date for previous. 2012-07-14 09:24:51 +00:00
matt
41b2c64496 Add gic for arm 2012-07-14 07:59:48 +00:00
matt
a08758835a Add intrbase locator to mainbus. 2012-07-14 07:57:26 +00:00
matt
e07e1443a1 Refresh cortex cpus 2012-07-14 07:55:28 +00:00
matt
3a3f70c6ee Fix CPU_ID_CORTEX_P and add CPU_ID_CORTEX_A8_P 2012-07-14 07:54:29 +00:00
matt
1ca677e576 Add hooks for __HAVE_PIC_SET_PRIORITY which allows updating of a hardware
(PIC) priority based on current IPL.
2012-07-14 07:52:53 +00:00
matt
9db3ad34c1 omap4430 irq definitions 2012-07-14 07:43:15 +00:00
matt
4cf804873e Move omap2430/3530 definitions into their own header file.
(so that other omap processor can more easily be supported).
2012-07-14 07:42:57 +00:00
matt
a06c2d85ca Use -march=armv6k -mtune=arm1136jf-s so that gas will believe there are
{ldr,str}ex{b,h,d} instruction available.  This is for the use of
ldrexb/strexb instead of swpb for __cpu_simple_lock_t.
2012-07-14 07:32:50 +00:00
matt
5fed5d1763 gcc4.5 does support cortex-a8 so use it. 2012-07-14 06:55:18 +00:00
rkujawa
dc69ac0939 Adapt extent(9) page to not so recent changes in extent code. Argument
mtype to extent_create() was removed.
2012-07-14 05:36:56 +00:00