Commit Graph

219820 Commits

Author SHA1 Message Date
pooka
734710d913 Use kqueue on *BSD, not just NetBSD. 2013-07-04 17:46:14 +00:00
pooka
200b4dc09f Add a note explaining why there's a homegrown __STRING, __CONCAT, etc. 2013-07-04 11:58:11 +00:00
pooka
be1e0a384e Determine the interface name and the names of exported symbols based
on VIRTIF_BASE.  This allows using various different packet-shoveling
backends in the same rump kernel.
2013-07-04 11:46:51 +00:00
joerg
c664b621d8 Swap order of _CITRUS_LC_MONETARY_SYM_INT_N_CS_PRECEDES and
_CITRUS_LC_MONETARY_SYM_INT_P_SEP_BY_SPACE to match data files.
2013-07-04 11:36:17 +00:00
pooka
aa90974447 Apparently warning flags are not kept in CWARNFLAGS. Compensate. 2013-07-04 10:14:04 +00:00
pooka
6b86dfa7fa Some systems provide ioctl() via unistd.h
(not that this is going to work there, but at least we don't
get unnecessary compiler warnings)
2013-07-04 10:09:55 +00:00
pooka
b30b04091e Avoid not-used warning on NetBSD 2013-07-04 09:58:28 +00:00
pooka
eb02078a24 fix warnings 2013-07-04 09:48:01 +00:00
wiz
e18fc4e91d Fix xref. 2013-07-04 09:39:48 +00:00
msaitoh
1097efeb89 Sync with {Open,Free}BSD. 2013-07-04 09:26:14 +00:00
christos
1c129848aa Simplify error handling and make it actually return a useable error code.
(Maxime Villard)
2013-07-04 02:58:20 +00:00
matt
1fae100816 Add l2pte_set and l2pte_reset inlines to set/reset a pte. These will be
used to support > 4KB pages sizes.
Don't use >> L1_S_SHIFT, use L1_IDX() instead.
2013-07-03 21:37:35 +00:00
christos
59b4948a7f Check snprintf for -1 (Maxime Villard) 2013-07-03 21:20:45 +00:00
pooka
d9c4c208c1 fix parameter name 2013-07-03 20:17:07 +00:00
pooka
d45448fa65 Adjust for rump_virtif_create() removal. Incidentally, this reduces
the number of exported symbols by one (which is useful for phase 2).
2013-07-03 19:23:46 +00:00
pooka
ba335617f8 regen 2013-07-03 19:22:21 +00:00
pooka
bc38e87441 Having a system-supplied function interface to create virt(4) is not
fully useful when the system doesn't supply anything to configure the
interface with.  So remove rump_virtif_create(), that functionality
is now taken care of with ifcloner.
2013-07-03 19:21:11 +00:00
pooka
528e47fc44 Remove makevirtif(), it's not likely to be used in testing.
(and this file should go away anyway in favor of using ifconfig etc.)
2013-07-03 19:13:33 +00:00
njoly
75ce45f852 Make RUMP_LOCKDEBUG work again.
With some help from pooka@.
2013-07-03 17:10:28 +00:00
reinoud
1a547d0334 Remove spurious empty line 2013-07-03 15:39:22 +00:00
matt
8c57006d5c restore deleted conditional 2013-07-03 15:30:24 +00:00
matt
f273c1dadf Fix c&p error 2013-07-03 15:26:42 +00:00
matt
0de419f6d2 Collapse multiple inlines and move repeated tests into them.
No functional change.
2013-07-03 15:24:35 +00:00
msaitoh
67c3924f06 Fix the setting of sc->bge_flags for 5717 and newer devices. Reported by
Mike Belopuhov.
2013-07-03 15:21:35 +00:00
pooka
c5984ae7b9 g/c dummyif, not useful these days 2013-07-03 15:08:01 +00:00
pooka
6b612185b2 Allow alternate interface base names to be specified at compile time. 2013-07-03 15:06:25 +00:00
reinoud
ab09c24f7a On removing a directory make sure the leaf directory doesn't have a valid '..'
link anymore. In a corner case this leaf can be held by a process as a CWD. It
is guaranteed to be empty at this stage so we trunc it removing the only valid
FID, being the '..' entry.

Solves part of PR kern/47987
Solves tests/vfs/t_vnops udf_dir_rmdirdotdot
2013-07-03 14:35:28 +00:00
matt
cf364a0187 Just split it into two strings and eliminate the newline.
This goes into .ident so the newline doesn't matter.
2013-07-03 14:29:28 +00:00
christos
304ddee50c remove unneeded initialization. 2013-07-03 14:16:01 +00:00
christos
9c7eb973a4 check that stat succeeded before testing the guts of struct stat
(Manime Villard)
2013-07-03 14:15:47 +00:00
nakayama
f7f884f97e Enable tests which does not require rump if MKRUMP=no.
Pointed out by christos on source-changes-d.
2013-07-03 14:01:29 +00:00
reinoud
e6b5374ef7 Typo in debug message: we are removing a directory and not a file. 2013-07-03 12:55:34 +00:00
reinoud
d0b9530090 On growing a node that was recorded inside the (E)FE, don't forget to set the
size of the node to the NEW size. This was reported by the `t_io
udf_shrinkfile' testcase.

Fixes PR kern/47985
2013-07-03 11:50:59 +00:00
msaitoh
b82bfce45e Add BGE_JUMBO_CAPABLE flag to some chips. Before this commit,
the following chips support the jumbo frame function:

	5700
	5701
	5702
	5703
	5704

With this commit, the following chip support it, too:

	5714
	5780
	5717
	5718
	5719 (exclude rev. A0)
	5720
	57765
	57766
2013-07-03 05:49:36 +00:00
matt
34517a51bd Add pmap_domain and pmap_l1_kva inlines. 2013-07-03 05:23:04 +00:00
christos
9b40dbcce2 make a diagnostic message more informative. 2013-07-02 22:39:45 +00:00
wiz
9f55e7c8e5 Sort sections. New sentence, new line. Fix macro. 2013-07-02 20:53:10 +00:00
nakayama
f14537481c rump is required for tests under tests/net/net. 2013-07-02 17:56:06 +00:00
reinoud
d840ba4944 Small patch to clarify last_lba and now using size confusingly. No functional
change.
2013-07-02 15:05:53 +00:00
reinoud
61c2992d1e Use the new extension to newfs_udf to generate a decent image for rump to work
on instead of an FFS(!) version.
2013-07-02 15:00:55 +00:00
reinoud
c7950296a0 Update newfs_udf to allow for creating file images with -F and specifying
sector sizes with -S.

For this i had to recycle the -S parameter but its preserved as an extension
to the -P parameter. These parameters are hardly ever use though since using
either or both the origional -S and the -P parameter without specific values
would break the standard. Also the -F now has a double meaning.
2013-07-02 14:59:01 +00:00
pgoyette
e990cb232e Initialize some variables to make the vax build happy.
XXX Not sure why this problem only showed up on vax builds.
2013-07-02 13:27:42 +00:00
joerg
ca1a6f97cd Finish ANSIfication. Drop extra spaces from __P removal. Add more
static. Add more const. Use __dead for usage().
2013-07-02 11:59:46 +00:00
matt
42a7dfa302 Split tlb related stuff into pmap_tlb.h so that can be used for ASID mgmt
for non-soft TLB pmaps.
2013-07-02 09:35:48 +00:00
matt
18056bbfe0 Rework to have CPU_PREARMV6, CPU_ARMV6, as well as CPU_ARMV7 2013-07-02 06:07:11 +00:00
matt
e5b393876c Add a tlb_asid_t. 2013-07-02 05:57:00 +00:00
matt
7d125d00f3 Add TTBCR definitions 2013-07-02 05:55:47 +00:00
matt
4f70c9ac77 Add L2_S_SIZE 2013-07-02 05:52:14 +00:00
matt
5f8cb38bb1 Use __func__ in UVMHIST_FUNC 2013-07-02 05:50:53 +00:00
jnemeth
526c2d425c Move mandoc and makemandb to base set as discussed on tech-userlevel:
http://mail-index.netbsd.org/tech-userlevel/2013/06/25/msg007845.html
2013-07-02 02:15:13 +00:00