Commit Graph

196095 Commits

Author SHA1 Message Date
jruoho
a7e3599b75 Add an additional assertion for the control MSR address. 2010-12-30 17:06:17 +00:00
pooka
bc1c80f7e8 Substitute a surgical rump_server configuration for rump_allserver
now that it's possible.  With warm fs cache, the startup time of
the former is 0.01s and the latter 0.1s.  With cold caches it's
0.2s vs 2s.
2010-12-30 16:58:07 +00:00
pooka
7b44389237 regen: SYCALL_NOSYS in rump_sysent[] 2010-12-30 16:51:28 +00:00
pooka
afe2ca27dd Mark syscalls not supported by a rump kernel with SYCALL_NOSYS, as
pure function pointer comparison brings weak alias confusion (weak
aliases are necessary for static linkage).
2010-12-30 16:49:24 +00:00
pooka
9b98cb6805 Requery syscall handlers during rump kernel init. This fixes
syscalls provided by a rump faction such as rumpvfs when the library
is not linked into the binary, but is dlopen()'d before calling
rump_init().
(it is illegal to dlopen() a faction after rump_init(), but syscalls
maybe be added the usual way with modules)

rump_server(1) -lstuff works now.
2010-12-30 16:46:32 +00:00
pooka
4513e431d6 Refetch netisr function pointers with dlsym(). This gives the
desired values in case the components containing the netisr handlers
were not linked in but dlopen()'d before calling rump_init().

(could simplify a little in case static linking is declared dead)
2010-12-30 16:19:39 +00:00
pooka
2aa9fbc0b2 Allow rump kernel to call dlsym(RTLD_DEFAULT). 2010-12-30 15:47:30 +00:00
pooka
6234f7657c regen: whitespace polish police 2010-12-30 13:38:56 +00:00
pooka
cb92cf6235 whitespace polish in rump_syscalls.c 2010-12-30 13:38:10 +00:00
pooka
d7c0fe15d1 update comment 2010-12-30 12:46:34 +00:00
jruoho
704b4b5b77 Update. 2010-12-30 12:06:53 +00:00
jruoho
a5a73b2a05 Change the default behavior to enforce the maximum frequency when the
firmware requests to do so. This cures severe overhating (> 120 C) observed
on many laptops, being also on par with the specification(s). This can be
reverted by using the new "hw.acpi.cpu.dynamic" sysctl variable.
2010-12-30 12:05:02 +00:00
pooka
8b73c28f1c snafu in previous: extra printf arg 2010-12-30 11:54:50 +00:00
pooka
4d48de638f regen: fill syscallnames up to the rim 2010-12-30 11:45:39 +00:00
pooka
c86a7bcf7c Fill syscallnames up to nsysent so that n<nsysent has a non-hyperspace
string mapping.
2010-12-30 11:42:53 +00:00
kefren
e64aab24d3 * add config file so one can control id, timers and label assignment and
use neighbour specific options - XXX: needs documentation
* add peer authentication using TCP_MD5SIG. Interoperability tested with
  Cisco IOS
* use SLIST_FOREACH_SAFE when deleting labels instead of re-looping.
2010-12-30 11:29:21 +00:00
pgoyette
9231586d8c Now that we update the callout timer as soon as it is updated, we no longer
need to have an extended wait for the first powerd event to occur.  Revert
that portion of previous commit.
2010-12-30 04:01:59 +00:00
pgoyette
59fe847ec9 When the user updates the sensor device's refresh timer, reset the
callout immediately rather than waiting for the previous timer to
expire.
2010-12-30 03:59:59 +00:00
pgoyette
a12cad24be Fix typo - let the build proceed 2010-12-30 00:46:38 +00:00
haad
d52c66bf4a Fix my yesterday fix and finally make _get_dev_size recognise partition size
for device without DIOWEDGEINFO, where DIOCGDINFO is used. Patch tested by
Martin Mersberger.
2010-12-29 23:14:21 +00:00
yamt
9b72a3c9c6 don't assume atomic read/write on socketpair. puffs_kargs at least is
too large to assume atomic read/write.  this makes some tests including
fs/puffs/t_basic pass on my environment.
2010-12-29 22:56:59 +00:00
jakllsch
bec3a889b1 Utilize movz[bw]l to save a few instrutions and bytes of .text. 2010-12-29 22:40:46 +00:00
christos
4817a0b0b8 real override for yacc rules. 2010-12-29 19:53:32 +00:00
pgoyette
0e0fe099e8 Various cleanup (most from pooka@)
- Does not require root access on the host, only in the rump
	  environment (which it gets by default)
	- Manual clean-up of powerd process and rump-server socket is
	  not necessary - happens automatically
	- Don't use a global, absolute path for the rump-server socket

For alarm_sensor, make sure events are still delivered after 'envstat -S'
(the cur_value was deliberately left at an alarm level and should not be
affected by the reset).

No longer need to skip the alarm_sensor and limit_sensor tests, since
pooka fixed passing of proplist to built-in modules.

Increase wait time for first powerd event report.  (This should not be
needed, so there's probably a bug somewhere, but the increased timeout
lets us validate the rest of the sensor functionality.)
2010-12-29 19:21:39 +00:00
wiz
90bb351524 Sort usage. 2010-12-29 18:49:41 +00:00
wiz
7072bc9c3f Use better reference after sorting in -f description. 2010-12-29 18:48:56 +00:00
wiz
29bd138c93 Sort usage. 2010-12-29 18:48:40 +00:00
wiz
825164c33e Sort some more. 2010-12-29 18:46:48 +00:00
jakllsch
387a37a543 bootxx_cd9660 (cdboot), like bootxx_fat16 (fatboot), is not a traditional
libsa-based program.  As such, build bootxx_cd9660 where its source lives.
This has been done by moving bootxx/bootxx_cd9660/Makefile to cdboot/Makefile
and adjusting the relative paths appropriately, so as to minimize binary change.
2010-12-29 17:44:03 +00:00
pooka
3bf7a94975 practice alphabet: "g before i except never" etc. 2010-12-29 15:53:57 +00:00
pooka
d9b1a59b40 Pass potential prop dictionary to modcmd when reenabling a builtin
module.
2010-12-29 15:07:36 +00:00
jmcneill
94f6c5770b allow for buffer sizes < 32k 2010-12-29 14:38:54 +00:00
nisimura
a84bb7e54c one more line for lwp_getpcb() conversion. 2010-12-29 13:49:32 +00:00
jmcneill
53a2f36508 show that cir attaches to irbus 2010-12-29 13:48:22 +00:00
nisimura
a879dab550 use lwp_getpcb() to hide the detail about how struct pcb is populated. 2010-12-29 13:43:58 +00:00
jmcneill
2ea5b50e4b module needs to devsw_attach/devsw_detach 2010-12-29 13:43:16 +00:00
mrg
ebcfca8be3 add a new "-B buffersize" flag to both audioplay and audiorecord.
suggested by jmcneill@.

sort audioplay manual some.
2010-12-29 13:09:03 +00:00
jmcneill
393a0deb05 some platforms don't have bus_dma, so only build these modules on x86 2010-12-29 13:05:42 +00:00
haad
d26a38d370 Fix problem where chown was used on normal device in time when only
raw device was created. While here do some cleanup.

Problem find and reported by Martin Mersberger on current-users@.
2010-12-29 10:39:27 +00:00
haad
ca7dbf8cb5 Fix bug added by my last commit. This should fix
PR: bin/44286

Reported by: mlelstv@ and Martin Mersberger.
2010-12-29 00:14:04 +00:00
pgoyette
271a24bb60 Fix name of t_ldexp test from previous 2010-12-28 20:25:31 +00:00
jakllsch
4244c8419c Address PR#44279.
- Be more lenient to device descriptor inconsistencies.
- Apply Roland SD-90 quirk only to the SD-90.
2010-12-28 20:11:18 +00:00
mhitch
61ae85434d Raise address of user stack to the highest safe (for 68040 mmu) address,
which increases available user address space by 256MB.  One file in
pkgsrc/lang/php53 was too large for the amiga.  Also remove an old
presumably outdated comment.
2010-12-28 18:31:05 +00:00
pgoyette
f7a830954f ldexp has been atf-ified 2010-12-28 17:35:25 +00:00
pgoyette
404ccc33e0 Don't build ldexp tests on vax 2010-12-28 17:33:58 +00:00
pgoyette
238e3baebf Migrate the ldexp test to atf 2010-12-28 16:57:00 +00:00
haad
bec5c61e50 Define vn_getattr in zfs_context.h. 2010-12-28 16:44:45 +00:00
christos
61a5737280 off by one 2010-12-28 16:19:25 +00:00
christos
ba385e83d4 allocate the buffer at the same function level as the compiler so that
the compiler knows to emit the right _chk call.
2010-12-28 16:18:46 +00:00
christos
d6d145ee46 only setup siginfo handler if we have a tty. 2010-12-28 15:28:31 +00:00