Commit Graph

207554 Commits

Author SHA1 Message Date
mrg
0e12342e61 drop the thread lock in a couple of error cases that were missing. 2011-12-09 05:08:25 +00:00
mrg
f8fa7a45a9 update a little: zaudio failure, uaudio/umidi success 2011-12-09 05:06:57 +00:00
mrg
bb9826c712 from the usbmp branch:
- drop the thread lock when usbd might sleep on us.

this also makes mixerctl -s vs play work without usbmp.
2011-12-09 05:03:18 +00:00
cherry
e84002488c Use mutex(9) instead of spl(9). Add further locks around grant table access. 2011-12-09 03:58:12 +00:00
rmind
215a4b5f51 - Explain the magic in npf_tcpfl2case().
- Use __unused instead of (void)cast; fix comment.
2011-12-08 23:36:57 +00:00
rmind
5ddcd2d503 pmap_bootstrap: use tlbflushg(), not tlbflush(), since we use global pages. 2011-12-08 22:36:42 +00:00
dholland
79f0d98a81 Uses uintptr_t and therefore needs stdint.h. 2011-12-08 22:27:36 +00:00
skrll
30fe64d81b Track if we saved l_private in the mcontext and don't blindly restore it.
This fixes the tests in /usr/tests/lib/libc/setjmp/t_threadjmp
2011-12-08 21:00:49 +00:00
chs
556410f871 allow building without direct-map support in non-XEN kernels. 2011-12-08 15:35:34 +00:00
jym
8f63b92041 build fix for keylock secmodel(9). 2011-12-08 11:01:59 +00:00
cherry
a58ac9f339 kmem_free() the appropriate size.
Thanks cegger@
2011-12-08 03:34:44 +00:00
joerg
eb47f1619a Use a constant array for the MIB. Newer LLVM decided that mib[] warranted
stack protections, with the obvious crash after the setup was done.
As a positive side effect, code size shrinks a bit.
2011-12-08 02:27:14 +00:00
taca
093293c2cb According to /etc/rc.d/mdnsd, /var/run/mdnsd is owned by _mdnsd:_mdnsd
if it created.  So, set owner/group of /var/run/mdnsd.

It stop a useless warning in /etc/security.
2011-12-08 01:15:02 +00:00
taca
25a77c81a5 ISC DHCP 4.2.3-P1 and 4.1-ESV-R4 has released. 2011-12-08 01:11:47 +00:00
he
f0e3262471 Bump SYMTAB_SPACE. 2011-12-08 01:08:18 +00:00
christos
539c90b5a5 be more portable, explain what we are doing, simplify. 2011-12-07 22:52:54 +00:00
he
b8e262ecc5 Add the secmodel_extensions variants of the kernel modules. 2011-12-07 22:14:43 +00:00
jakllsch
f3842730f2 Initialize the opl softc lock pointer to the parent's interrupt lock.
Briefly tested only on wss@isapnp.
2011-12-07 17:38:50 +00:00
jakllsch
3974ddef5c We need to hold the lock during mpu_find(). 2011-12-07 17:35:01 +00:00
cegger
6fe7c102d5 replace malloc() with kmem_zalloc() per request from cherry.
While here fix error path.

XXX: The size allocated and freed for interrupt handlers looks
inconsistent to me.
2011-12-07 16:26:23 +00:00
cegger
199b241e44 remove xen3-public 2011-12-07 16:10:59 +00:00
cegger
67a05e425f switch from xen3-public to xen-public. 2011-12-07 16:01:39 +00:00
cegger
908dafc263 switch from xen3-public to xen-public. 2011-12-07 15:47:41 +00:00
cegger
ef058ada1e merge. (forgot in previous) 2011-12-07 15:40:15 +00:00
cegger
4d7ec3b06b merge. 2011-12-07 15:04:18 +00:00
cegger
230bc32186 Welcome to Xen 4.1.2 headers.
New interfaces for PV drivers:
- Xen transcedent memory
- USB IO
- SCSI IO

PCI IO improvements:
- PCI MSI support
- PCI Express AER support

New features:
- xen honors flags to be placed into guest kernel available pte bits
  if enabled (for grant table)
- support for 128 vcpus
  (old interface is still present and supports up to 32 vcpus)
- PCI passthrough: new hypercalls to support SR-IOV
- new hypercall for physical cpu hotplugging
- new hypercall for physical page offlining
- fixes to compile with clang
- machine check recovery mechanism
2011-12-07 14:41:15 +00:00
cegger
bae54e0656 build fix: add back <sys/malloc.h>. malloc(9) is still in use. 2011-12-07 13:49:04 +00:00
cegger
e3626448aa merge. The 'conflicts' happened because xen-public was once used for xen2 headers. 2011-12-07 13:24:04 +00:00
cegger
25dd519694 re-import xen3-public to rename this to xen-public 2011-12-07 13:15:44 +00:00
cherry
6b3b571c64 Move to kmem_zalloc() instead of malloc(). 2011-12-07 12:31:51 +00:00
macallan
00d7756e68 consolidate bit twiddling functions into one generic case and a bunch of
macros, use them
2011-12-07 09:08:00 +00:00
macallan
6a0ba9d88b add a bunch of register definitions 2011-12-07 08:49:29 +00:00
skrll
79fb68b068 Deal with __MACHINE_STACK_GROWS_UP machines.
constify the other psize while I'm here.

Thanks to Christos for looking.
2011-12-06 21:15:39 +00:00
jakllsch
2ee946b266 Per [1] the speed of light in a vaccum is exactly 299792458 m/s.
Per [2] a furlong is 220 yards and a yard is exactly 0.9144 m.
Per [3] a fortnight is 14 days.

As I didn't find a good authority for what definition of a day a fortnight is
measured in, I'll assume here a day is 86400 SI seconds.

Thus, the speed of light in a vaccum is approximately
1.80*10^12 furlongs per fortnight.

1.80*10^12 = 299792458*86400*14/(220*0.9144)

[1]	Resolution 1 of the 17th meeting of the CGPM (1983)
	http://www.bipm.org/en/CGPM/db/17/1/
[2]	Weights and Measures Act 1985
	http://www.legislation.gov.uk/ukpga/1985/72
[3]	The Concise Oxford Dictionary, 5th Edition, 1964, p. 480
2011-12-06 19:41:03 +00:00
jakllsch
15a9f768c4 Make break handling (where supported by the hardware/firmware) actually work. 2011-12-06 19:05:43 +00:00
njoly
826079e36b Remove expected failure now that PR/44708 is fixed. 2011-12-06 18:18:59 +00:00
njoly
e01a9cd0c9 Remove the unneeded rump component; the library already includes the
module code that will be initialised by rump.

Fix PR/44708, t_zpool:create test failure for RUMP_LOCKDEBUG=yes
builds.
2011-12-06 18:12:25 +00:00
njoly
eb308a41e8 Do not protect wrong KASSERT by LOCKEDBUG ifdef/endif, the latter uses
its own mecanism. Kill them both.
From discussion with pooka@.
2011-12-06 18:04:31 +00:00
jym
ae1d24749f do_sys_sync() is part of vfs, hence rumpvfs. Used by pmf(9) during
device suspend, so explicitly link against rumpvfs to resolve that
symbol when linking rumpdev.

Unbreaks "rumptest" target.
2011-12-05 23:04:39 +00:00
christos
062de7c5a1 close the comment, there is a draft. 2011-12-05 21:30:48 +00:00
christos
857226ee50 PR/45687: Mike Pumford: savecore: (null): _ksyms_hdr not in namelist
Make it non-static and add a comment so that they don't become static again.
2011-12-05 20:55:14 +00:00
christos
f5e469b78a make joy code consistent (avoid games with pointers), and fix the isa softc
declaration
2011-12-05 19:20:54 +00:00
skrll
7ff9dd0229 Fix mm_md_kernacc to report correct status for the direct mapped pages
between kernel start and end of physical memory.  Report everything else
as unhandled.
2011-12-05 15:04:27 +00:00
hannken
1ebfe67c9f The union file system is as stable as other layered file systems so
no longer print a warning to the console.

Gnats is waiting ...
2011-12-05 11:12:10 +00:00
tron
5939d9ebbc Remove ".gitignore" files which blacklist some files that actually are
in the NetBSD sources. This should fix build problems for people using
GIT to track current.

Problem reported by Evgeniy Ivanov on "current-users" mailing list.
2011-12-05 10:43:24 +00:00
wiz
a4d43dc119 Remove trailing whitespace and fix a typo. 2011-12-05 10:36:39 +00:00
wiz
6533efb150 Do not xref to itself. 2011-12-05 10:27:40 +00:00
skrll
df83e35987 Remove unused file. 2011-12-05 07:36:32 +00:00
skrll
fdb4331779 Whitespace. 2011-12-05 07:34:50 +00:00
jym
20cbd76bbd Set list fix... 2011-12-05 02:04:34 +00:00