Commit Graph

121289 Commits

Author SHA1 Message Date
bjh21
8e1125601f Include wdcreg.h for WDC_NREGS (used by wdcvar.h). 2003-11-29 19:33:34 +00:00
yamt
32e454901e nfs_zeropad: remove an unneeded substitution (and clean up a little.) 2003-11-29 19:31:13 +00:00
yamt
4e8d9fe867 pad requests correctly in the zerocopy case of write rpc. 2003-11-29 19:27:57 +00:00
yamt
f1e9f5f0af less magic constant. 2003-11-29 19:09:21 +00:00
yamt
f7d48e3571 mincore: don't treat an aobj as a device mapping. 2003-11-29 19:06:48 +00:00
he
fc44e8511e Patterned after the rest of the code, add one more check that
chp->wdc is non-null before de-referencing it.
2003-11-29 16:17:31 +00:00
jdolecek
ae0ead8db3 fix semaphore ID bound checking
problem pointed and patch provided in kern/23585 by Jeff Ito
2003-11-29 11:43:25 +00:00
matt
7bf0959ab7 Restore a change that made AF_LOCAL sockets block on connect(2) until
accepted.  However, this time this behavor is not the default.  Instead
it must enabled by using the LOCAL_CONNWAIT socket option on either the
connecting or accepting socket.
2003-11-29 10:02:42 +00:00
perry
6032efb56d Revert a change that altered the semantics of AF_LOCAL sockets. Sadly
this made us API incompatible with other Unixes.
2003-11-29 06:08:29 +00:00
simonb
2ac2b77477 systrace needs libevent now. 2003-11-29 05:47:51 +00:00
fvdl
142645a06a This file is dead. It has ceased to be. It has gone to meet it's maker. It
is a late file.

Any rumours of it pining for the fjords are totally unsubstantiated.
2003-11-29 00:27:58 +00:00
simonb
a7fbae904d Fix up abort test so that we abort the first time we see a small enough
period, not the second time.
Use UINT64_MAX (from Klaus Klein).
Remove trailing blank line.

XXX: 12000 still isn't right - values around 11800 have been observed.
2003-11-29 00:11:18 +00:00
jhawk
e7d0c2b26a Manually moved from Attic/ in the repository since cvs failed to do so. 2003-11-28 23:57:49 +00:00
wiz
df5a50364e Use $NetBSD$ instead of $Header$. 2003-11-28 23:52:34 +00:00
jhawk
0769141e39 Manually moved from Attic/ in the repository since cvs failed to do so. 2003-11-28 23:47:42 +00:00
wiz
6fc98bf82d Add -C to usage. 2003-11-28 23:32:25 +00:00
wiz
7978aff203 Bump date for previous (hi niels!).
Sort options.
2003-11-28 23:32:02 +00:00
fvdl
e367e360a4 The x86_64 assembler seems to get it wrong when assembling
_eprol@GOTPCREL, it resolved it internally as a PC-relative instruction,
getting garbage, since the needed value is in the GOT. Add a CPP hook
to export it explicitly, this makes it work. Only active on amd64. XXX
2003-11-28 23:25:54 +00:00
fvdl
ebc6dbad07 Define the mcount function in assembler, and have it save all registers
used for argument passing, plus %rax (used to pass the number of float
arguments to varargs functions), to avoid having it clobber caller-saved
registers. mcount is emitted "under the radar", so the compiler doesn't
know it should do this.

Change the kernel mcount entry/exit macros to use plain cli/sti, like on i386.
2003-11-28 23:22:45 +00:00
provos
61d0495091 support for cradle mode by marius at monkey.org; cradle mode allows the
systrace UI to be attached and re-attached, it also multiplexes across
systrace process so that one UI can function as central notification
2003-11-28 21:53:32 +00:00
chs
669d2bb92c add support for HPT302 and HPT371. simplify timing selection.
adapted from OpenBSD.  tested on an HPT302, review by bouyer@.
2003-11-28 20:08:29 +00:00
chs
3bf428ce23 regen 2003-11-28 20:05:14 +00:00
chs
9bff23d0a5 add Tandem ServerNet II and various HPT IDE controllers. 2003-11-28 20:04:16 +00:00
chs
06abe054f9 bcopy -> memcpy 2003-11-28 19:03:03 +00:00
chs
d740b5e191 de-__P, remove register, ansify. 2003-11-28 19:02:25 +00:00
drochner
86048e5a3d always check whether a display is attached before calling
wsdisplay_*() functions
2003-11-28 13:32:55 +00:00
drochner
4d60676c44 -remove a check of errno against -1, this is nonsense since
we have EPASSTHROUGH
-remove a superflous #if NWSMOUSE
2003-11-28 13:19:46 +00:00
keihan
6979203302 s/netbsd.org/NetBSD.org/g 2003-11-28 08:56:48 +00:00
scw
c65769f7cf Cast to pointer via intptr_t. 2003-11-28 08:18:03 +00:00
scw
0a42a14b70 Re-write and simplify _sh5_stb1_tlbload to avoid branches. 2003-11-28 08:15:10 +00:00
scw
85c506fb3b While NetBSD/sh5 has never needed a sigcode trampoline, other parts of
the kernel seem to assume 'esigcode - sigcode' is non-zero.
2003-11-28 08:12:52 +00:00
manu
23a18da8cd To lookup a map entry in vm_map, use uvm_map_lookup, and not uvm_map_findspace,
which will not work on already mapped objects.
2003-11-28 08:03:14 +00:00
cube
c5529ef807 Add support for the 3com OfficeConnect 10/100B card, which has an ADMtek
AN985 controller, handled by tlp(4).

From Mike M. Volokhov <mishka AT terabyte DOT com DOT ua> in
current-users.
2003-11-28 06:03:09 +00:00
cube
5146829d44 Regen. 2003-11-28 06:00:16 +00:00
cube
5c88862075 Add 3c910 OfficeConnect 10/100B Ethernet. 2003-11-28 05:59:41 +00:00
simonb
9c8a6768e6 Revert 2.14 mknative (with expanded local paths!) while we're forced at
2.13.2.1; needed to get clean -current building again.
2003-11-28 05:16:19 +00:00
simonb
d95b3733ab Revert part of binutils 2.14 framework; needed to get clean -current
building again.
2003-11-28 05:14:18 +00:00
manu
8aa5d7b0f3 In Mach_task_suspend, stop the process without awaking its parent, this is
wrong on the semantic front; the spurious wakeup confuses Darwin's gdb.

Allow vm, task and thread operations on remote processes. The code to pick up
the remote process is in mach_sys_msg_trap(), so that any Mach service can
use it.
2003-11-27 23:44:49 +00:00
manu
d662d7555d Make the wakeup optionnal in proc_stop, so that it is possible to stop a
process without waking up its parent.
2003-11-27 23:16:47 +00:00
fvdl
6242a54566 There are some cards that map the ATA control and IDE DMA registers
in a different fashion. Individually, they have the same functionality,
but their layout is different. An example of such a chipset is
the Promise 203xx.

To be able to deal with this, transform the cmd and dma bus_space handles
into an array of handles, each seperately created with bus_space_subregion.
The code generated by using the extra indirection shouldn't change much,
since the extra indirection is negated by having the offset calculation
already done in bus_space_subregion. E.g.

	bus_space_write_4(tag, handle, offset, value)

becomes

	bus_space_write_4(tag, handles[offset], 0, value)

Reviewed by Manuel Bouyer. Tested on wdc_isa, wdc_pcmcia, viaide, piixide (i386)
and on cmdide (sparc64).
2003-11-27 23:02:40 +00:00
dsl
2726af786f When rounding a partition to end on a cylinder boundary, round the start
down to a cylinder boundary before adding in the requested size.
Stops the partition being one cylinder larger than requested when the
partition doesn't start at the beginning of a cylinder (eg for partitions
starting in sector 63).
Fixes part of PR install/23548
2003-11-27 21:43:22 +00:00
dsl
7983f217c9 Generate command line when SMALL is defined and make buffer full sized.
All the code has been present for a while, and the memory cost is (about)
180 bytes per process.
Fixes PR bin/23545
2003-11-27 21:16:14 +00:00
itojun
bf72fd111d missing splx. Hajimu UMEMOTO via kame 2003-11-27 18:26:46 +00:00
cl
828439fb74 Add td__getstacksize() to support variable stack sizes. 2003-11-27 16:32:09 +00:00
cl
2c9b7b1eb7 Set default stack size to the current limit on the stack size as set
with the shell's command to change limits.  Make the PTHREAD_STACKSIZE
environment variable override the default stack size.  The old fixed
stack size behaviour can be enable with PT_FIXEDSTACKSIZE_LG when building
libpthread.
2003-11-27 16:30:54 +00:00
tsutsui
4f9a822f1f sync with news68k:
> Make sure machine and ${MACHINE_ARCH} symlinks created before make depend.
2003-11-27 16:19:16 +00:00
mrg
d409bb8e80 framework to build binutils 2.14. note lib{bfd,opcodes,iberty} framework
is moving here, keeping everything together.

tested with: vax (old config), mac68k (old config), i386 (new config)
and shark (new config).  tested i386 binaries only so far, but the
system seems to be surviving the self-hosted test.

XXX: note that this isn't *all* the bits required to run a binutils
2.14 world for arm or i386; these will come soon enough...
2003-11-27 15:02:21 +00:00
mrg
d2f6146b45 find libraries etc in a binutils 2.14 world. 2003-11-27 14:36:45 +00:00
mrg
65e91005fa don't build libopcodes/bfd/iberty here if we have binutils 2.14 2003-11-27 13:53:11 +00:00
mrg
eb9e243e98 include "getopt.h" as we refer to struct option. 2003-11-27 13:52:30 +00:00