Commit Graph

176292 Commits

Author SHA1 Message Date
pooka
e8b4276abd Reset proc0 cwdi after unmount. Makes is possible to mount/unmount/mount
in one process.
(XXX: this code is still horrible)

problem reported by stacktic
2008-12-31 00:57:15 +00:00
pooka
e605194ace Nuke macros which haven't been used since the advent of RUMP_VOPs. 2008-12-31 00:35:00 +00:00
pooka
1d6d3e2769 Link self-contained file systems (i.e. do not depend on other file
systems) against the kernel module on select archs.
2008-12-30 22:20:56 +00:00
pooka
3427000fad Build kernel modules the same time as the rest of the system libraries. 2008-12-30 22:18:11 +00:00
pooka
dfa6b36e0e Move list of rump-uses-kmod archs to bsd.own.mk for wider consumption. 2008-12-30 21:31:10 +00:00
pgoyette
38a22d040a Correctly mark files obsolete. 2008-12-30 20:33:27 +00:00
reinoud
339f5c5772 Add ISO partition detection enabling auto-detection of iso9660 and UDF
partitions on optical media like CD/DVD/BD but also on all other media if
there is no NetBSD disklabel or MBR label.

Also fix cd's readdisklabel arguments so the ioctl's arrive at the right
device (!) and update its default label to make more sense.
2008-12-30 19:38:36 +00:00
pooka
3b189207d8 Switch amd64 rumps to the kernel ABI. 2008-12-30 19:05:40 +00:00
pgoyette
6bafd541ac The extra fonts have gone away again, probably due to changes being made
to make(1).  Mark them 'obsolete'.
2008-12-30 18:00:38 +00:00
he
bce40b6ae2 Also doctor the Revision header in the files.
This appears to be leftover from my earlier BIND update.
2008-12-30 17:53:47 +00:00
tteras
a3c1a92d23 schedular() call can now modify fd mask so make the working copy just
before calling select(); otherwise it can contain bad file descriptors
2008-12-30 15:50:24 +00:00
he
a7f7726d50 Change va_fsid from long to u_long, so that we can store a dev_t
there without incurring warnings (which turns into build errors)
about conversions from unsigned int to long.
OK'ed by christos@.
2008-12-30 15:08:09 +00:00
pooka
0531e32a05 !defined(_LKM) -> defined(_KERNEL_OPT) 2008-12-30 13:15:49 +00:00
pooka
f9f4344f37 #ifdef _LKM -> #ifndef _KERNEL_OPT 2008-12-30 12:56:12 +00:00
pooka
d218bdeeff _LKM -> _MODULE 2008-12-30 12:35:23 +00:00
jmcneill
9f9ac957a5 Silence printf in common "device not found" error path. 2008-12-30 10:44:30 +00:00
stacktic
69a3e4d4ea Closing file in ukfs_release 2008-12-30 10:31:22 +00:00
pooka
593f6357c6 -I${RUMPTOP}/librump/rumpkern so that build from src/lib works.
noted by Geoff Wing on current-users
2008-12-30 09:49:21 +00:00
matt
8f704298aa Reclaim PVF_KNC in VIPT to be PVF_MULTCLR (page has multiple colors).
Track when a page is mapping in multiple colors and deal with the ramifications.
When a page's MOD attribute is cleared, clean it from the cache.
Fix a logic inversion.

With these changes, the TI SDP2420 H4 board can successfully natively build a
TISDP2420 kernel.
2008-12-30 05:51:19 +00:00
matt
a7cf4e5ecd Use atomic ops to manipulate the bitmasks. 2008-12-30 05:43:14 +00:00
pooka
9c5307acaa properly handle kthread_exit() 2008-12-30 00:36:38 +00:00
pooka
9fd33357b3 Provide ifunit stub in the same place as others. 2008-12-29 23:18:35 +00:00
pooka
8a1a1e1e27 * make features match those of the nfs module just to have them in-sync
* remove stubs.c since all are now provided by rumpnet
2008-12-29 23:17:42 +00:00
pooka
14d6fd5a0b __weak_alias some more networking symbols for the benefit of the
nfs boot code in case not using the full networking stack.
2008-12-29 23:12:11 +00:00
njoly
e85166daa8 Fix stime(2) inverted copyin arguments. 2008-12-29 22:21:49 +00:00
pooka
f8829b7dcb Switch i386 away from rump/include/machine. This means that rump
on i386 now uses the native kernel ABI.  This in turn means that
rump modules and kernel modules are binary equivalent and can be
used interchangeably.
2008-12-29 22:16:15 +00:00
christos
6469dc948c revert previous. it was meant for the branch. 2008-12-29 21:30:51 +00:00
pooka
d19a006d1c Register a dummy block device for rump, since some file systems do
a sanity check to see if the block device exists.  This dummy block
device should eventually replace rump specfs.
2008-12-29 20:39:49 +00:00
mlelstv
bb90b5f0cd cast arguments for changed printf format 2008-12-29 20:02:30 +00:00
pooka
2c52214ded _LKM -> _MODULE 2008-12-29 19:59:09 +00:00
pooka
b03bd9bf49 We are conseptually a module, so -D_MODULE. Group CPPFLAGS better. 2008-12-29 18:53:57 +00:00
pooka
13de128f76 Actually, revert previous - I doubt it would work with a non-rump kernel.
The filthy #ifdef _MODULE lives to stink another day.
2008-12-29 17:52:43 +00:00
pooka
7b9ae626a8 die filthy #ifdef _MODULE, die! 2008-12-29 17:47:08 +00:00
pooka
614c33507f include subr_devsw in rumpkern 2008-12-29 17:45:55 +00:00
pooka
8583cae233 Rename specfs_lock as device_lock and move it from specfs to devsw.
Relaxes kernel dependency on vfs.
2008-12-29 17:41:18 +00:00
christos
4266eb20ef fixes for version 2. 2008-12-29 16:05:01 +00:00
christos
ac3b5d9cdf fix dev_t format. 2008-12-29 16:03:57 +00:00
wiz
c1e161c47f Mark up NULL with .Dv. 2008-12-29 15:57:01 +00:00
pooka
3cf15d2f4e Librate sysctl_setup_func typedef from the clutches of _MODULE and
stuff it in kern_sysctl.c where its only sensible use is.
2008-12-29 15:35:02 +00:00
christos
62f7265ebd revert previous. It was meant for the branch 2008-12-29 15:08:03 +00:00
jdc
eebd19f78d On old chip revisions, clear the screen using rasops when attaching. 2008-12-29 14:42:15 +00:00
pooka
841fb873aa sprinkle static 2008-12-29 14:35:05 +00:00
njoly
f22af7d53f s/syscallcarg/syscallarg/ in comments. 2008-12-29 14:33:40 +00:00
jdc
e3fc2b7c4b Clear the screen (via rasops) when attaching.
Pointed out by Bill Green on port-sparc.
2008-12-29 14:27:59 +00:00
ad
ab21fd5c10 Don't need to hold kernel_lock for most of this (and not into the swapper!). 2008-12-29 13:40:11 +00:00
mlelstv
e5b90a2fc2 support icmp codes. Fixes PR 39056. 2008-12-29 12:54:33 +00:00
ad
ed25a64ddf Don't do KM_NOSLEEP allocations. 2008-12-29 12:52:50 +00:00
ad
a6dfe8170e Add a bunch of new text, in particular:
Use of KM_NOSLEEP is strongly discouraged as it can
	create transient, hard to debug failures that occur
	when the system is under memory pressure.

	In situations where it is not possible to sleep, for
	example because locks are held by the caller, the
	code path should be restructured to allow the allo-
	cation to be made in another place.
2008-12-29 12:43:47 +00:00
ad
a3caa093d1 Tweak text. 2008-12-29 12:18:12 +00:00
mlelstv
0f2eef0070 fdcintr1 requires the mutex to be held. 2008-12-29 12:16:52 +00:00