Commit Graph

121258 Commits

Author SHA1 Message Date
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
uwe
62410eae0a Definition of __KERNEL_RCSID for asm files. 2003-11-24 04:07:22 +00:00
uwe
72a0bf93df In db_disasm call get_ascii only if necessary. 2003-11-24 03:33:02 +00:00
uwe
0cfca60cdf general_exception() now receives TEA as a third argument. For user
mode EXPEVT_ADDR_ERR_{LD,ST} traps pass it as ksi_addr, also use it to
decide if this is a SIGBUS (unaliged access) or SIGSEGV (kernel VA
access).

Report EXPEVT_TLB_PROT_LD as SEGV_ACCERR, not SEGV_MAPERR.

While here, consistently use standard uint32_t instead of u_int32_t.
2003-11-24 03:11:16 +00:00
uwe
721c1a1815 Pass TEA to general_exception. While here add a couple of comments. 2003-11-24 03:06:01 +00:00
chs
8205afea7d de-__P, remove register, ansify. 2003-11-24 02:51:35 +00:00
uwe
633913b2b3 Add ifdefed inits for TUI and if 0'ed _initialize_nbsd_thread (not yet). 2003-11-24 01:59:59 +00:00
uwe
c9a82b254b DEFAULT_BFD_VEC should be little endian bfd_elf32_shlnbsd_vec. 2003-11-24 01:58:22 +00:00
augustss
852684606a Add a device. From OpenBSD. 2003-11-24 00:00:07 +00:00
simonb
33896379fe Add the entries in misc/18016 (from Patrick Welche). 2003-11-23 23:28:03 +00:00