he
5d08264428
Define IPL_SOFTSERIAL and provide a makeiplcookie() implementation,
...
so that kern/subr_pool.c can build again.
OK'ed by martin@
2009-01-24 12:34:04 +00:00
cegger
e3f5192d4c
- fix test for IPv4 csum.
...
- No need to double negate TCP/UDP csum test
2009-01-24 08:31:03 +00:00
mrg
c6a4afa995
add COMPAT_50 to all the configs with COMPAT_40.
2009-01-24 05:06:05 +00:00
tsutsui
1e5c3b25c8
Replace multi-statement macro using GCC extension `({})' with
...
static inline functions to avoid possible side effects or confusion.
Tested on TT030 by David Ross and on Falcon by Tuomo Makinen on port-atari.
2009-01-24 02:02:38 +00:00
tsutsui
6d3b1b1ecd
Use pmap_kenter_pa(9) to map msgbufpa as other m68k ports.
...
Tested on TT030 by David Ross and on Falcon by Tuomo Makinen on port-atari.
2009-01-24 02:01:01 +00:00
rmind
f0e51651e4
Change path to kernel modules from "/stand" to "/kernel".
...
Needs to go in before 5.0. Proposed on <tech-kern>.
2009-01-24 00:29:12 +00:00
abs
548de22a7a
- Rename BOOT to SMALL030 and trim some more fat
...
- Drop BOOTX
- Regenerate everything else - only changes in comments
2009-01-24 00:22:12 +00:00
abs
3a821eebde
- Merge ATARITT.in and FALCON.in into GENERIC.in so we can generate
...
a sane kernel config which defines both of them
- Cleanup all the #if defined(FOO) entries to be consistent and have
a matching /* FOO */ on the #endif line
- No change to generated ATARITT/FALCON/HADES/MILAN-ISAIDE/MILAN-PCIIDE
- Rename BOOT to SMALL030 and trim a little more to save space.
- Drop BOOTX
2009-01-24 00:19:47 +00:00
cegger
bbb2be253d
Improve handling of transmitting large packets.
...
Sending large packets works better, but still needs investigations.
2009-01-23 22:59:30 +00:00
pooka
e97a2018f3
Add a few stubs to allow to compile - i'll have to sort these out later.
2009-01-23 21:57:35 +00:00
christos
bf9ab82c0e
Make this compile &foo[0] does not work for void * :-) Wojciech Galazka
2009-01-23 19:49:16 +00:00
pooka
d9c038d4fe
Adjust for explicit errno parameter removal from rump syscalls
2009-01-23 19:36:01 +00:00
pooka
a03214170d
include rtsock_50.c
2009-01-23 19:34:37 +00:00
pooka
597631204a
regen: int *error is dead.
2009-01-23 19:30:16 +00:00
pooka
06abc8c3f9
Remove debug print -- this is what happens when there's several
...
hours between implementation and commit.
2009-01-23 19:29:38 +00:00
pooka
c7e5a8be4e
Remove the "int *error" parameter from rump syscalls. Instead use
...
rumpuser_seterrno() to set the errno for the caller. This makes
the difference between real and rump syscalls way less intrusive
in calling code.
2009-01-23 19:27:18 +00:00
pooka
d9eeb41285
rumpuser_seterrno() to set errno from a rump kernel context.
2009-01-23 19:19:32 +00:00
pooka
2751aa1fdb
* enable COMPAT_50 (we need a better compat model here, but this is
...
enough for now)
* _RUMPKERNEL is not going anywhere anymore, so adjust comment
2009-01-23 19:14:30 +00:00
pooka
2a4d5485f0
Now that SO_RCVTIMEO is versioned, we don't need the timeval hack
...
here anymore.
2009-01-23 19:07:17 +00:00
uwe
f7b9361ff7
Revert two previous revisions and just use __pmap_kernel directly again.
...
There's no reason to pretend we don't know what kernel_pmap_ptr is.
2009-01-23 16:54:14 +00:00
uwe
c02a1adf3c
Unhide __pmap_kernel for the benefit of fast tlb miss handlers.
2009-01-23 16:46:51 +00:00
pooka
f6724ea74f
solock() in compat code error branch to avoid panic
2009-01-23 15:40:19 +00:00
pooka
2b5cdf6147
last-minute pasto in previous
2009-01-23 14:24:43 +00:00
rmind
9e43fad609
sys__pset_bind: obviously, sched_takecpu() should take "t" LWP, not "l".
2009-01-23 13:58:08 +00:00
pooka
8b32829eeb
Change VMEM_HASHSIZE_INIT from 1 to 128. This mainly benefits
...
quick-running or non-threaded rump jobs, where the rehash algorithm
does not have a chance to run. For other cases it doesn't make
much difference, since the size will grow or decrease when the
rehash algorithm runs for the first time (t=10*hz currently).
2009-01-23 13:45:06 +00:00
pooka
2ef0a5a5d9
Add a compile-time option to use kmem/vmem/pools from the kernel
...
sources instead of homegrown allocators. Default to "on", even
though they appear to be a few percent slower at least on short
jobs (e.g. untar to tmpfs).
2009-01-23 13:14:16 +00:00
pooka
9559b180f5
Support mmapping anonymous memory.
...
XXX: this is mainly for the benefit of correct alignment, but
MAP_ALIGNED() is not portable.
2009-01-23 12:47:32 +00:00
jmcneill
a85de6510e
From FreeBSD, 10 years ago;
...
Now empty DOS filesystems default to long file names. Non-empty filesystems
without traces of Win95 default to short file names, as before.
2009-01-23 12:46:23 +00:00
jmmv
b615b3d11f
Remove hack to initialize SYMTAB_SPACE ksyms now that ksyms_init does it
...
for us. Per PR port-evbarm/40311.
2009-01-23 09:23:02 +00:00
jmmv
f084134ae9
Initialize SYMTAB_SPACE ksyms during ksyms_init. Per PR port-evbarm/40311.
2009-01-23 09:22:25 +00:00
uch
a44b846fe4
__pmap_kernel is pointer not symbol from pmap.c 1.68. set correct address.
2009-01-23 04:36:13 +00:00
drochner
cf45120117
Avoid deadlock in tty code if a terminal emulation responds to
...
type/status/etc inquiries. (PR kern/37915)
This is clearly a design problem in tty, but we need a cheap fix now.
The problem is that ttyinput() tries to pull a spinlock which
is already held on calls to t_oproc.
The workaround is based on the fact that within wscons code, the
wsdisplay_emulinput() function is only called directly from
wsdisplaystart(). So we can be sure that the tty lock is held,
and use an inofficial entry point in ttc.c which avoids the locking.
These ate certainly more assumptions than needed by the fix
proposed in the PR, but it doesn't affect (and slow down) other
tty drivers.
2009-01-22 20:40:20 +00:00
christos
e6a971bc07
Patches from Brad Parker to support vax730.
2009-01-22 18:49:02 +00:00
cegger
23efc364a4
buildfix: re-adapt to major()/minor() return a 32bit value again.
2009-01-22 17:34:22 +00:00
cegger
f907d9477d
buildfix: re-adapt to major() return a 32bit value again.
2009-01-22 17:32:20 +00:00
cegger
f365ed0108
buildfix: re-adapt to major()/minor() returning a 32bit value again.
2009-01-22 16:12:43 +00:00
cegger
e6ae80b89d
buildfix: re-adapt to minor() returning a 32bit value again.
2009-01-22 16:10:19 +00:00
pooka
10adbcff42
Inform the user that threads are not available instead of just abort()ing.
2009-01-22 16:05:34 +00:00
cegger
636f235e0d
buildfix: re-adapt for major/minor returning 32bit value again.
2009-01-22 16:05:03 +00:00
yamt
cb1e92d5d5
malloc -> kmem_alloc
2009-01-22 14:38:34 +00:00
dogcow
f1b5400fb5
major() and minor() are now int32_t.
2009-01-22 11:01:32 +00:00
cegger
f21b8480ba
struct device -> device_t
2009-01-22 09:39:28 +00:00
cegger
ea6211cb91
fix crash when bringing up the device and no cable is plugged in
2009-01-22 09:37:44 +00:00
skrll
76a119fa8f
Don't use dev_t now that it's 64bits.
2009-01-22 07:57:17 +00:00
agc
dc733729ad
Move back to printing the minor device as a 32-bit entity
2009-01-22 04:56:06 +00:00
pgoyette
333a587ecc
Update format strings now that DISKPART() and DISKNUMBER() are back to
...
32-bit.
2009-01-21 23:52:58 +00:00
bjh21
7697c48959
Make sure that dp8390_intr() gets passed the softc pointer, not the device
...
pointer, when it's called.
2009-01-21 23:36:30 +00:00
bouyer
d98444ec62
minor() is 32bit again, and so is DISKNUMBER/DISKPART. Pointed out by
...
Paul Goyette, thanks !
2009-01-21 22:34:55 +00:00
bouyer
d23142945f
Make i386 config without NPX work, problem reported and fix tested by
...
Wojciech Galazka.
While there change a __i386__ to i386 for consistency.
2009-01-21 21:26:01 +00:00
bouyer
3a096dbb63
major() is 32bits again, fix printf() format. Pointed out by Paul Goyette.
2009-01-21 20:40:40 +00:00