Commit Graph

191572 Commits

Author SHA1 Message Date
pooka e094e235ab add a vm allocator test which tests that:
* RUMP_MEMLIMIT works
* allocating memory with PR_NOWAIT will fail immediately if no memory
  is available and PR_WAITOK will wait for memory to be available
2010-06-14 21:06:09 +00:00
pooka 771f2275a6 Make it possible to define an upper limit for memory consumed by
the rump kernel by specifying RUMP_MEMLIMIT.  In case allocation
over that limit is attempted, essentially pool reclaim and uvm_wait()
is done.  The default is to allow to allocate as much as the host
will give.

XXX: uvm_km_alloc and malloc(9) do not currently conform.  the
former is easy, the latter requires kern_malloc.c (rump malloc is
currently directly relegated to host malloc).
2010-06-14 21:04:56 +00:00
riz 90f3d84c58 ugensa support for Sierra Wireless USB 305, from Andy Wallis
in PR#43468 .
2010-06-14 19:05:24 +00:00
riz 153e354bb9 Regen for Sierra Wireless USB 305 and sorting change. 2010-06-14 19:02:06 +00:00
riz 58c5a38c32 Sort Sierra Wireless products by ID. 2010-06-14 18:57:49 +00:00
riz ab8cdf7297 Add ID for Sierra Wireless USB 305, from Andy Wallis in kern/43468. 2010-06-14 18:55:31 +00:00
pooka 08fa5b6e7e annotate failing testcase with PR number 2010-06-14 16:12:41 +00:00
pooka 637bf4639a ptyfs dir 2010-06-14 15:23:41 +00:00
pooka 5605e38e16 fix filename 2010-06-14 15:22:40 +00:00
pooka a9459565dc ptyfs tests 2010-06-14 14:55:04 +00:00
pooka 00ce6b3c83 tests/fs/ptyfs 2010-06-14 14:53:08 +00:00
pooka 0420748b8f Descend into ptyfs tests now that the necessary rump components are there. 2010-06-14 14:51:41 +00:00
pooka 43d595fea0 rumpkern_tty 2010-06-14 14:50:47 +00:00
pooka 5c46dd73a9 tty support is in rumpkern_tty now 2010-06-14 14:48:51 +00:00
pooka e7d4a69ab6 tty support is finally a standalone component 2010-06-14 14:47:58 +00:00
pooka e0986a806a Add unadulterated tty support as a rump component. 2010-06-14 14:45:47 +00:00
pooka 5d8421fd1d naughty naughty, don't peek into src/sys 2010-06-14 14:42:49 +00:00
pooka c7b9a80854 ptyfs.h 2010-06-14 14:42:20 +00:00
pooka eb2a46e827 Install ptyfs userspace header into user's space. 2010-06-14 14:40:47 +00:00
pooka cc2d381c8a ptyfs 2010-06-14 14:39:12 +00:00
pooka d2e364992d ptyfs rump component 2010-06-14 14:36:15 +00:00
njoly e97daef49a Add rmdir(2) support for rump filsystem.
With help from pooka.
2010-06-14 13:40:25 +00:00
pooka f51be744dd Remove comment which wasn't supposed to get committed. 2010-06-14 13:28:44 +00:00
pooka 0733340220 Make some stubby tty routines used by printf weak aliases, so that
the full ones will be used if we have the upcoming tty component
loaded.
2010-06-14 13:25:40 +00:00
riz f037dc36bc vi.info doesn't get built when MKDOC=no. 2010-06-14 05:27:51 +00:00
simonb d1ea2eed63 Add a very basic <machine/bus.h> which nows seems to be mandatory in MI
code even if a port doesn't use it.

Based on code in private email from Havard Eidnes.  Thanks Havard!
2010-06-13 18:14:57 +00:00
pooka 9c6bb4c515 Move FLAWLESSCALL from rump_dev_private.h into rump_private.h
so it can be used outside of devices.
2010-06-13 16:49:01 +00:00
phx 7031fa6dfc Automatically adjust the console speed to 57600 in /etc/ttys for KUROBOX
kernel.
2010-06-13 15:32:00 +00:00
phx 15666f2d4c Adapted for NAS systems. Use vt100 with 115200bps instead of Pc3 console. 2010-06-13 15:30:37 +00:00
pooka a2b72aafa2 Fix previous in emul.c -- only numbers are operands for cpp comparisons.
Apparently non-numbers logically produce arch-dependent behaviour.
2010-06-13 15:17:02 +00:00
simonb 599c2850cf KNF nit. 2010-06-13 13:43:02 +00:00
pooka 7ed9d6c421 deal with sun3's module disability 2010-06-13 11:35:41 +00:00
pooka 83474ef4e9 add rest of sparc pagesize variables 2010-06-13 11:05:58 +00:00
yamt d512e902b3 aio_enqueue_job: don't bother to check curjob.
- it's an undefined behaviour anyway.
- the check sometimes prevent legal reuse of userland aiocb.
  note that the userland can notice the i/o completion and reuse the aiocb
  before the aio_worker kernel thread clears curjob.
2010-06-13 04:45:50 +00:00
tnozaki 2a7af30c36 1. split runetype_local.h -> runetype_file.h
and remove renameing _Rune* -> _NBRune* namespace protection.

   FreeBSD traditionaly exposes struct _Rune* in runetype.h
   which included by ctype.h. it may cause conflicting type error
   in our cross build process, former we use renaming namespace
   to avoid this problem, now i reworked more resonable way.

2. merge rune_local.h to runetype_local.h, and remove it.
3. split bsdctype.h -> bsdctype_{file,local}.h
2010-06-13 04:14:56 +00:00
yamt d5dec378f9 increment p_nrlwps in lwp_create rather than letting callers do so
as it's always decremented by lwp_exit.  this fixes error recovery of
eg. aio_procinit.
2010-06-13 04:13:31 +00:00
yamt 136da85472 remove an unnecessary check of PK_MARKER 2010-06-13 04:08:49 +00:00
yamt ef7d7e9667 update a comment. 2010-06-13 03:34:19 +00:00
yamt e38edea451 use NULL instead of 0 for pointers. 2010-06-13 03:32:47 +00:00
yamt 60a28584a3 remove __dead from the prototype of lwp_exit, which actually can
return these days.
2010-06-13 03:31:28 +00:00
tsutsui d6e42f548a Tidy up a comment. 2010-06-13 03:09:32 +00:00
tsutsui 5a93b5b6c1 No need to include PCI header files in bus independent code. 2010-06-13 03:08:15 +00:00
tsutsui bfd673d735 Regen from usbdevs rev 1.555:
> Add vendor IDs and device IDs for forthcoming upgt(4),
> Intersil PrismGT wireless LAN.  From OpenBSD via FUKAUMI Naoki's patch
> posted on current-users:
> http://mail-index.NetBSD.org/current-users/2010/05/28/msg013570.html
2010-06-13 02:36:18 +00:00
tsutsui 732affbd88 Add vendor IDs and device IDs for forthcoming upgt(4),
Intersil PrismGT wireless LAN.  From OpenBSD via FUKAUMI Naoki's patch
posted on current-users:
http://mail-index.NetBSD.org/current-users/2010/05/28/msg013570.html
2010-06-13 02:33:54 +00:00
tsutsui be8e5859f9 Apply fixes for PR port-arm/43339:
Set proper IPL_SOFTfoo values even in !FAST_SOFTINTS case.
 Some assertions in MI code expect they have unique values,
 per comments from rmind@.

Also cleanup various "interrupt hierarchy" code since IPL_NONE and
IPL_SOFTfoo should not be set by any hardware interrupt establish functions.

Ok'ed by mrg@, tested on shark and hpcarm.
2010-06-13 02:11:22 +00:00
tsutsui ae9c6cd78f Put underline properly (not upperline) on CCW screen.
Tested on hpcarm WS003SH.
2010-06-13 01:55:24 +00:00
pgoyette 466066edf2 Regen 2010-06-12 23:16:02 +00:00
pgoyette 7610510ff8 Add a couple more product IDs for the ASIX Ethernet interfaces 2010-06-12 23:15:18 +00:00
pooka 7bf6b262ee Function which does not return needs to return a value. 2010-06-12 22:59:59 +00:00
macallan ec4afcf862 add some more offsets
this should have been committed with the previous, noticed by he
2010-06-12 21:25:56 +00:00