Commit Graph

121317 Commits

Author SHA1 Message Date
yamt 5b12f94dde use FINFOSIZE macro. 2003-11-25 15:14:57 +00:00
itojun f51095cf7c knf 2003-11-25 14:44:13 +00:00
christos 1a2b5965a9 Don't try to preload an empty string. 2003-11-25 14:36:49 +00:00
manu 206a81affc Don't change process' special ports on exec(). If gdb attached the process,
it holds rights to the special ports, and it expects the rights to be valid
even after the process calls exec().
2003-11-25 13:22:38 +00:00
pk 16c7483e5e spec_close: we don't need to lock the vnode just to make a copy of its flags. 2003-11-25 12:52:10 +00:00
cl 4da6cdf9f6 Fix check for pending upcalls after we return stacks.
Noted by yamt@.
2003-11-25 10:05:17 +00:00
pk f7eea59188 Change default verbosity level to `traditional'. 2003-11-25 09:15:50 +00:00
pk 1954be3560 NORMAL_C,NOPROF_C,NORMAL_S: put `@' in front of these to get saner output.
Also we can't use _MKTARGET_COMPILE here. For now, just hard-code the message.
2003-11-25 08:52:40 +00:00
pk d8db9075f0 SYSTEM_LD: don't display every object file on the planet thrice. 2003-11-25 07:47:29 +00:00
dyoung 17b5668ccd Factor duplicated code for setting variables such as machine_cpu
and machine_arch to their defaults into sets.defaults, and source
it at the top of each script.

Also, to be consistent with variable naming, s/arch/machine_arch/.

sets.defaults introduces two new variables, krb and krb4, which
will affect whether Kerberos- or Kerberos IV-only files are put
into the set lists.
2003-11-25 07:19:46 +00:00
dyoung a7742656be Finer-grained syspkgs to save space on tiny systems: move
calendar(1)-related and RPC-related files to their own packages.
Move the termcap(5) database to its own package, also.
2003-11-25 06:28:54 +00:00
cdi d49bc81070 Use per-cpu pcb, curlwp and fplwp rather than global ones. This brings
GENERIC.MP configuration to a usable state.

Approved by petrov@.
2003-11-25 05:14:58 +00:00
simonb 2651b30a5b Need to set/restore the PSR explicity in cpu_{set,get}mcontext() since
it is a different size in mcontext_t and "struct reg".
Problem spotted by Christos Zoulas.
2003-11-25 04:57:05 +00:00
simonb 493b309b03 Put a few headers back so this compiles again.
Compile problems noticed by Dan Carosone.
2003-11-25 03:40:18 +00:00
cl 774b4b225b Update mutex/rwlock/sem code to match recent change in cond code. 2003-11-24 23:54:13 +00:00
matt 2d72f72583 Don't emit any warnings when tar is trying to figure out if the file is
really tar format.  valid CPIO files should not trigger a warning from tar.c
2003-11-24 23:48:47 +00:00
he 512e98364a I've been informed that any dependent targets on .BEGIN are
ignored.  Fix the symlink creation for machine, mips, and pmax
accordingly.

Also, there's nothing .PHONY about the vers.c target, as far as I
can see, so I've removed that.
2003-11-24 23:29:54 +00:00
uwe 2d6cce4c99 Cosmetic: in sh_vector_generic use named label instead of numeric
label for the curlwp address.  Same object code is generated.
2003-11-24 23:24:18 +00:00
cl 4f8ea51319 add CONSTCOND in constant condition. 2003-11-24 23:23:17 +00:00
nathanw 250e7bbf8e Fix a race between timed wait callbacks and manual signal/broadcasting
accidentally introduced in rev. 1.5.

Noted by Christian Limpach.
2003-11-24 22:54:31 +00:00
wiz 85a1a95db7 Xref com(4) instead of apci(4). Bump date. 2003-11-24 22:49:08 +00:00
wiz 1553dd6707 Remove apci(4) and dca(4) man pages (hp300).
The drivers have been replaced by MI ones.
tsutsui@ agrees.
2003-11-24 22:47:37 +00:00
jschauma 2c872ddbbc Also remove headers that are no longer needed. Also pointed out by Mike
Small.
2003-11-24 22:47:02 +00:00
jschauma d772e9e433 Remove unused variable stdout_ok, which was left over from my changes
in September.  Pointed out by Mike Small in a private email.
2003-11-24 22:38:46 +00:00
manu bb938d861a Fix cross-build problem on sparc caused by a cast size_t -> int 2003-11-24 22:12:14 +00:00
cube 8db032b396 Add ethfoo LKM example. It implements a cloning interface for fake
Ethernet devices that can be assigned an Ethernet address using the
included setaddr utility.
2003-11-24 21:58:45 +00:00
christos 6f8e24d360 prevent double free. From OpenBSD 2003-11-24 21:49:12 +00:00
christos 57a881013d Define ecalloc() and use it when initializing data structures. 2003-11-24 21:44:37 +00:00
scw fd11abcb03 For FAST_IPSEC, ipfilter gets to see wire-format IPsec-encapsulated packets
only. Decapsulated packets bypass ipfilter. This mimics current behaviour
for Kame IPsec.
2003-11-24 20:54:59 +00:00
cdi 02de9dde31 Call 'proc_trampoline_mp' from 'proc_trampoline' in a multiprocessor
configuration. Fix process locking. Approved by petrov@.
2003-11-24 20:41:15 +00:00
manu ae4ac4f570 Also allow to change special and exception ports from a remote process 2003-11-24 20:30:19 +00:00
nathanw 68f7fcf078 Make the DPRINTF text for bulk in/out opening errors match which one
is in and which one is out.
2003-11-24 19:47:07 +00:00
wiz c4f3c3c55c Bump date for previous (hi manu!). 2003-11-24 18:00:49 +00:00
manu 2569c624db Don't free a buffer before we finished reading it 2003-11-24 17:20:58 +00:00
manu 23f30b17cb Enable tracing of out of line data sent with Mach messages 2003-11-24 16:53:38 +00:00
manu 1147a0b1e6 Enable tracing of out of line data sent with Mach message 2003-11-24 16:51:33 +00:00
kent f2680f731e An ICH board needs reading AC97_REG_RESET before reading AC97_VENDOR_ID.
(why?)
http://mail-index.netbsd.org/current-users/2003/11/22/0007.html
2003-11-24 16:05:10 +00:00
manu c7f488a7ae typo 2003-11-24 15:06:09 +00:00
pk 48f1e67a86 spec_close: controlling terminal hack: drop session reference count only if
we actually had a reference.
2003-11-24 14:59:38 +00:00
manu 662a14a8e6 Once a process has the kernel port to another process or thread, it can
use it to get process state and other stuff. It's not clear if this can
be used to modify exception ports or special ports (this needs to be
tested)
2003-11-24 14:31:40 +00:00
isaki d93179e40a Regen from 1.10; Correct typo in comment. 2003-11-24 06:33:17 +00:00
isaki eb554304bd Correct typo in comment (s/x86k/x68k/) 2003-11-24 06:31:44 +00:00
tsutsui f37ddce7e8 Remove obsolete MD mcclock files. 2003-11-24 06:24:27 +00:00
tsutsui e9dbe69e90 Set mcclock to BCD mode as before. Tested on 7248-133 43P. 2003-11-24 06:23:33 +00:00
tsutsui 9db2573fc8 Handle BCD mode properly. 2003-11-24 06:20:40 +00:00
lukem 130aed8e40 fix uninitialised variable warning. XXX: not sure if this is correct 2003-11-24 06:11:56 +00:00
lukem 185c65a241 In _MKTARGET_*, use ${.CURDIR:T} instead of ${.OBJDIR:T}, because that's more
useful when using actual 'obj' dirs.  Suggested by Alan Barrett, with some
tweaks by me.
2003-11-24 05:44:59 +00:00
uwe 0457f27ac6 Old sigcode (to be copied out to the bottom of the user stack) is only
necessary for COMPAT_16.
2003-11-24 04:59:24 +00:00
uwe 139976ff9c Cosmetic: u_int32_t -> uint32_t in comments, trim trailing whitespace.
Add __KERNEL_RCSID.
2003-11-24 04:47:42 +00:00
uwe ce26539142 Add __KERNEL_RCSID. 2003-11-24 04:16:51 +00:00