Commit Graph

41035 Commits

Author SHA1 Message Date
bouyer
0b1f7e4a8c When disconnecting a device, we have to wait for pending I/O before releasing
the ressources (this can lead to a dom0 kernel crash when destroying a domain
with active I/O going). For this, add a refcount to struct xbdback_instance,
and defer CMSG_BLKIF_BE_DISCONNECT reply until refcount is back to 0 (which
means all queued buffers have completed).
Based on patch sent by Jed Davis on port-xen.
2005-09-20 20:29:18 +00:00
christos
8de29063ea - Bump default data size from 128M to 256M, allows the java interpreter to
start up without unlimit.
- Bump max data size from 2G to 3G. The actual space we are allowed to allocate
  is somewhere between 2G and 3G, so trying to allocate above that will fail.
- Bump max stack size from 32M to 64M.

Approved by fvdl
2005-09-20 16:38:58 +00:00
thorpej
5d49661ebb Turn bounce buffer stats into evcnts and enable them by default. 2005-09-20 04:48:10 +00:00
nsmrtks
6b6e3ae6ad Add diagnostic message. (for debugging with 060) 2005-09-18 16:12:34 +00:00
chs
3d217d24ea use a .BEGIN target to make the various symlinks,
the previous way had problems with parallel make.
2005-09-17 16:49:25 +00:00
yamt
d597202302 make VMSWAP optional again. 2005-09-17 14:38:38 +00:00
yamt
7e71f567e4 include "conf/std". 2005-09-17 09:44:05 +00:00
uwe
04b13834d6 Drop obsolete bus_space_* compat defs. 2005-09-15 18:34:03 +00:00
he
2f1d097559 The compat signal / signalvar headers are only needed under COMPAT_13
and COMPAT_OSF1, so make the header inclusion conditional as well.
2005-09-14 21:48:14 +00:00
he
6f5b98e680 Another file needing <compat/sys/signal.h> and <compat/sys/signalvar.h>
for native_sigset_to_sigset13().
2005-09-14 19:30:45 +00:00
he
e1e0525260 Another set of files needing <compat/sys/signal.h> and
<compat/sys/signalvar.h> for native_sigset13_to_sigset().
2005-09-14 19:27:48 +00:00
bouyer
67d1ec35c9 Enable systrace for Xen, there's no reasons for it to be disabled.
Pointed out by Sascha Retzki on port-Xen.
2005-09-14 19:06:15 +00:00
martin
adcdbe2c3d Now that process_frame() is a macro (done "unannounced" in arm's
include/frame.h), don't try to define an inline function with the
same name and same contents.
2005-09-14 18:26:31 +00:00
martin
b00f137222 Add missing <compat/...> includes 2005-09-14 17:52:24 +00:00
he
eff8bc0ba5 Another file which needs <compat/sys/signal.h> and <compat/sys/signalvar.h>
for native_sigset_to_sigset13.

Also fix something which must obviously be a typo:
COMAT_ULTRIX -> COMPAT_ULTRIX.
2005-09-14 17:38:40 +00:00
he
26fd5709f4 Another file which needs <compat/sys/signal.h> and <compat/sys/signalvar.h>
for native_sigset_to_sigset13().
2005-09-14 17:28:14 +00:00
he
1fb5939a51 This file also needs <compat/sys/signal.h> and <compat/sys/signalvar.h>
for native_sigset13_to_sigset().
2005-09-14 17:24:56 +00:00
he
3451426813 This file also needs <compat/sys/signal.h> and <compat/sys/signalvar.h>
for native_sigset_to_sigset13.
2005-09-14 17:22:50 +00:00
chs
43070602ec need to include <compat/sys/ucontext.h> here. 2005-09-14 16:19:27 +00:00
he
1d4573eec9 We need <compat/sys/signal.h> and <compat/sys/signalvar.h> here
for native_sigset13_to_sigset, sigset13_t, and sigvec.
The includes in sparc's machdep.c is conditional on COMPAT_13, as is
the use of native_sigset13_to_sigset.
2005-09-14 15:03:50 +00:00
he
acd01ac82f Need <compat/sys/sigtypes.h> here for sigset13_t. 2005-09-14 15:00:16 +00:00
he
80a9d6b5a5 Now that process_frame() is a macro (done "unannounced" in arm's
include/frame.h), don't try to define an inline function with the
same name and same contents.
2005-09-14 10:51:22 +00:00
tron
b03866ace9 Add 10 Gigabit Ethernet drivers dge(4) and xge(4). 2005-09-14 08:22:24 +00:00
christos
afffbeb330 split compat_16 functions to their own file and make this compile again. 2005-09-13 22:07:47 +00:00
christos
d3949dc269 compat reorg. 2005-09-13 03:23:34 +00:00
christos
ba2a95bba7 compat code reorg. Other archs will need similar changes... 2005-09-13 01:43:29 +00:00
bouyer
241368ab96 Check that m_copyback() didn't fail. Pointed out by YAMAMOTO Takashi. 2005-09-12 16:30:46 +00:00
tsutsui
a369ae7ab2 Add esiop at pci, which just works. 2005-09-12 15:36:19 +00:00
yamt
55dd3a28d4 remove no longer used macros. 2005-09-12 12:41:06 +00:00
yamt
8dcf8ba6e2 xennet_start: don't allocate cluster mbufs unless needed. 2005-09-12 12:40:43 +00:00
he
dc4ed2e4cb Patterned after next68k, omit inclusion of <sys/device.h> if we
are not in _KERNEL.  This should work around our lint problems
related to "unspecified-size array at end of struct" constructs.
2005-09-11 23:15:18 +00:00
chs
c36910e9cd remove the part of rev. 1.168 that skips TLB invalidations in pmap_enter().
it's wrong for wired mappings.  fixes PR 29804.
2005-09-11 14:30:31 +00:00
chs
355ecfe43b fix typo. 2005-09-11 13:42:40 +00:00
bouyer
4f6680c241 Use MCLGET() instead of local list of buffers. Garbage-collect
struct xennet_txbuf usage.
2005-09-11 13:20:00 +00:00
bouyer
acad751169 Remplace MEXTMALLOC/memcpy with m_copyback. 2005-09-11 11:44:52 +00:00
jmmv
ec93365612 Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +00:00
bouyer
b069bb656c The line number in the PCI interrupt register can be larger than 31 on
some hardware, depending on how Xen set things up. So bump NR_PIRQ from 32
to 256.
2005-09-10 18:24:35 +00:00
bouyer
b75ba03dd4 Add a vm_prot_t parameter to pmap_remap_pages(), and use it for the new PTE
instead to always trying PG_RW and falling back to PG_RO if this fails.
Use uvm_map_checkprot() in IOCTL_PRIVCMD_MMAP and IOCTL_PRIVCMD_MMAP_BATCH
to compute the appropriate vm_prot_t for pmap_remap_pages().
Thanks to Jed Davis for pointing out uvm_map_checkprot().
2005-09-10 18:00:49 +00:00
bouyer
ba9c8cd0c3 Apply patch from Jed Davis, posted to port-xen:
Implement IOCTL_PRIVCMD_MMAPBATCH, as a loop calling pmap_remap_pages().
XXX this should do the MMU operations in batch.
2005-09-10 15:48:10 +00:00
bouyer
8dfe5bc813 Apply patch from Jed Davis, posted to port-xen:
In pmap_remap_pages() new mappings are created (PG_RW|PG_M). When saving
a domain, the hypervisor will refuse to map the foreing pages RW.
As a temporary measure, retry the mapping read-only if PG_RW fails, so that
domain save will work. Also fix the PTP's wire_count if the MMU update
fails (prevent a kernel panic).
2005-09-10 15:46:04 +00:00
bouyer
7558bd0a7c Fix typo reported by Jed Davis on port-xen:
IOCTL_PRIVCMD_GET_MACH2PHYS_START_MFN is a read, not a write.
2005-09-10 15:41:54 +00:00
dsl
b92fde2f23 Remove KERNFS, it was only used to implement dmesg - the binary is smaller! 2005-09-10 14:53:34 +00:00
kiyohara
e13c2b8b41 Add configuration file for 'PCMCIA adapter BOX' supported kernel. 2005-09-10 04:34:39 +00:00
uwe
45626bf3d9 ANSIfy. 2005-09-10 02:22:33 +00:00
uwe
8f3c0c67f1 Hanlde NMI on microSPARC-IIep.
We don't do much useful except reporting, but that's better than to
stupidly use sun4m handler and wedge the machine.  May need to revisit
what's fatal.

Prodding by macallan@
2005-09-10 01:27:54 +00:00
uwe
531fd682f7 Add definitions for microSPARC-IIep memory fault registers. 2005-09-10 01:23:19 +00:00
uwe
5820e018a3 Add bitmask string for system interrupt pending register. 2005-09-10 01:01:40 +00:00
uwe
3355ba0044 u_intN_t -> uintN_t 2005-09-10 00:44:08 +00:00
tsutsui
60528befec Link ip2xboot as OMAGIC by -N option for ld(1) as well as ip3xboot.
Tested by sekiya.
2005-09-09 17:27:18 +00:00
drochner
727527c99b remove "dev" locators from cardbus device definitions, it doesn't
make sense technically and might be removed
2005-09-09 16:26:19 +00:00