Commit Graph

227911 Commits

Author SHA1 Message Date
dholland
7bf9cf009a __attribute__((__packed__)) -> __packed 2014-06-21 03:44:06 +00:00
dholland
19fc27d7d5 __attribute__ ((__packed__)) -> __packed 2014-06-21 03:42:52 +00:00
tsutsui
857033a6e9 Appease gcc48 -Wunused-but-set-variable warnings. 2014-06-21 02:02:40 +00:00
tsutsui
224acff119 Properly use an unused-but-set-variable. Also replace a magic number. 2014-06-21 02:01:21 +00:00
manu
fe10ff49c1 Use returned size and not buffer max length when displaying attribute
From Thomas Schmitt <scdbackup@gmx.net>
2014-06-20 15:22:01 +00:00
manu
f56cc676bf Do not record a trailing \0
From Thomas Schmitt <scdbackup@gmx.net>
2014-06-20 14:55:31 +00:00
ozaki-r
5efefa8603 Remove unnecessary sc_softintr 2014-06-20 14:22:48 +00:00
joerg
f800359619 intrcnt and _intrnames are unused. 2014-06-20 13:17:59 +00:00
joerg
823ebfdc82 Don't provide intrnames or intrcnt, GC intrcnt.h. IA64 has evcnt(9)
support hooked up, so no need for the legacy interface.
2014-06-20 12:41:34 +00:00
pooka
d6f42aa6f0 document RUMP_SYM_NORENAME 2014-06-20 12:36:31 +00:00
joerg
b7d8de5d33 evcnt is done. 2014-06-20 12:31:55 +00:00
pooka
795967533e Some rump kernel components for interfacing with the environment need
to access both NetBSD kernel facilities and facilities provided by the
environment.

Where the environment's headers can be #included without namespace
conflict (which can be done - with care - for some Xen mini-os
headers), it is convenient to simply allow the rump kernel code to
call directly into the environment.

This also requires not mangling the symbol names.

So provide a variable RUMP_SYM_NORENAME which can be set by a component
namefile to a series of symbols or symbol prefixes (in makefile-quoted
awk regexp syntax).  For example, in the rumpuser-xen xenbus driver:
 RUMP_SYM_NORENAME=xenbus_|HYPERVISOR_|wake$$|block$$|schedule$$|force_evtchn

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
(proposed on rumpkernel-users; very minor modification by myself)
2014-06-20 11:57:56 +00:00
pooka
4799824b3f Fix error return for rump_vfs_makeonedevnode()
from Ian Jackson <Ian.Jackson@eu.citrix.com>
2014-06-20 11:27:25 +00:00
phx
d08eccdb32 mc146818's sc_flag indicates the time is stored in binary format, not BCD.
So we should configure the chip's REGB for binary format as well.
This makes the BeBox RTC finally work reliable for me.
2014-06-20 09:47:15 +00:00
wiz
03f9b192f3 Update default pkgsrc font path references. 2014-06-20 08:08:58 +00:00
njoly
e75f143af6 Remove fagile test which ensured that first namelist element (was
X_NCHSTATS) had a known type. Make disk stats available again for
vmstat display.
2014-06-20 07:08:15 +00:00
sjg
5e8aec3baa Return varNoError rather than var_Error for ::?= etc. 2014-06-20 06:13:45 +00:00
msaitoh
a563525659 fix -Werror=unused-but-set-variable compile error 2014-06-19 18:01:18 +00:00
ws
c05596e905 Enqueue the mbuf with the start of the packet,
not some intermediate one (hi, rmind!).
2014-06-19 16:54:40 +00:00
skrll
377f7201a6 Increase IMAGESIZE to fix build. 2014-06-19 16:34:21 +00:00
msaitoh
62b0bd5096 Fix compile error of -Werror=unused-but-set-variable. 2014-06-19 15:09:50 +00:00
christos
f2d4db7cf6 use fparseln() instead of fgetln() for consistency (this was the last fgetln()
using parser in net/.
cVS: ----------------------------------------------------------------------
2014-06-19 15:09:07 +00:00
christos
08d13064c0 use fparseln() instead of abusing fgetln(), so that the last line that
might not have a terminating newline is processed.
2014-06-19 15:08:18 +00:00
christos
52e916d949 Fix incorrect example (what happens when len == 0?) 2014-06-19 14:27:50 +00:00
hikaru
2943d72a5a Use 64-bit DMA, if it is available.
This fixes null packet handling on guest which have memory over than 3GB.
2014-06-19 13:20:28 +00:00
msaitoh
a1b50cf1b2 Fix "error: variable 's' set but not used [-Werror=unused-but-set-variable]" 2014-06-19 13:20:13 +00:00
hikaru
f589d3a6c3 Make it be able to down I/F. This fixes panic when removing IFF_UP flag. 2014-06-19 13:16:29 +00:00
wiz
cdfd633d25 Add all functions to NAME section. End sentences with dots.
Bump date for previous.
2014-06-19 09:30:33 +00:00
msaitoh
5edf37f383 Fix "shadows a global declaration" compile error. 2014-06-19 05:31:15 +00:00
christos
20efb692ab cast gotsig because it is long on some systems. 2014-06-18 20:12:15 +00:00
alnsn
9fc0501842 Revert last change. This is not the right place for rumpuser_sync_icache(). 2014-06-18 19:50:32 +00:00
christos
cc52c7c3a4 Add stdlib.h for abort() (Jess Thrysoee) 2014-06-18 18:52:49 +00:00
christos
f032129312 Adjust to the new alias text libedit API. 2014-06-18 18:17:30 +00:00
christos
e06822a79d Don't depend on weak aliases to define the vi "alias" expansion function,
provide an API instead to set it.
2014-06-18 18:12:28 +00:00
christos
00f836315e more mktemp flavors. 2014-06-18 17:52:49 +00:00
christos
1015249915 more man pages links 2014-06-18 17:50:55 +00:00
christos
b7b5f0e5c2 bump libc. 2014-06-18 17:50:14 +00:00
christos
e00a3615cf add mkostemp{s,} mkstemps from FreeBSD 2014-06-18 17:48:22 +00:00
christos
017500be43 add mkostemp, mkostemps, mkstemps from FreeBSD. 2014-06-18 17:47:58 +00:00
uwe
5a5964be39 Suppress space after -I and -i options in description too.
XXX: This should be documented explicitly.
2014-06-18 14:47:02 +00:00
uwe
8b8d85039c Suppress space after -I and -i options. 2014-06-18 14:26:15 +00:00
christos
c095d1ec95 Fix usage. The man page is incorrect with respect to -I and -i and need
fixing, but my troff foo is not there.
2014-06-18 14:15:50 +00:00
christos
71faadbf26 fix second line of synopsis. 2014-06-18 14:12:20 +00:00
christos
0bd5e60967 accomodate FreeBSD's flavor of weak references. 2014-06-18 13:03:08 +00:00
ozaki-r
10c5c9874c Restructure bridge_input and bridge_broadcast
There are two changes:
- Assemble the places calling pktq_enqueue (bridge_forward)
  for unicast and {b,m}cast frames into one
- Receive {b,m}cast frames in bridge_broadcast, not in
  bridge_input

The changes make the code clear and readable. bridge_input
now doesn't need to take care of {b,m}cast frames;
bridge_forward and bridge_broadcast have the responsibility.

The changes are based on a patch of Lloyd Parkes submitted
in PR 48104, but don't fix its issue yet.
2014-06-18 10:51:03 +00:00
wiz
55d6e53ccb Sync usage with manpage. 2014-06-18 09:41:29 +00:00
wiz
9825fbace6 Sort options. Use Ss for non-standard headers. New sentence, new line.
Add missing Op.
2014-06-18 09:35:31 +00:00
ozaki-r
8f92986dca Tidy up bridge_input
No functional change.
2014-06-18 09:20:46 +00:00
msaitoh
c9913bb206 Fix uninitiazed variable problem found on zaurus. I don't know why
only zaurus found it.
2014-06-18 06:35:19 +00:00
macallan
7d15c9f3dc 8bit tcx doesn't implement a hardware cursor, so don't pretend it does.
Also, avoid poking the hw cursor registers in that case. Real hardware doesn't
care but qemu does.
2014-06-18 04:54:09 +00:00