Commit Graph

121071 Commits

Author SHA1 Message Date
nathanw
d8637f542a Use $(build_exeext) in both the source and destination, like the other
rules.
2003-11-20 18:43:58 +00:00
uwe
6d08061385 Do not move incoming paramters to callee-save registers when not
necessary.  Saves about a dozen of instructions.
2003-11-20 17:55:11 +00:00
uwe
4b13bb93a0 Follow-up to previous. In pthread__signal_tramp() maskp is below
siginfo on the stack, so get it from there.  ss_sp no longer points to
the the mask.  Pointed out by cl@.
2003-11-20 17:45:00 +00:00
uwe
b3c165e505 Add _INITCONTEXT_U_MD, we need to clean _REG_SR. 2003-11-20 17:38:08 +00:00
uwe
f5cd7f26ed Undo previous. In pthread__deliver_signal set uc->uc_stack.ss_sp = uc;
(as it used to be before 1.1.2.12) so that makecontext doesn't stomp
on the data we allocated on the stack.  Correct the debugging printf
to print olduc instead of target->pt_uc (we have pt_trapuc now, and
olduc can be pt_trapuc).
2003-11-20 17:16:41 +00:00
yamt
bba8d5af45 comments on tcp_outflags. 2003-11-20 16:21:48 +00:00
yamt
348187802d comments. 2003-11-20 16:18:49 +00:00
yamt
0b47e1b287 fix a race case of nfsrv_getcache. 2003-11-20 16:17:25 +00:00
dsl
91f5ee90a4 Add .WAIT after first subdirectory to ensure we don't build the libraries
twice.
2003-11-20 16:16:41 +00:00
kochi
9e86672dce convert tab -> space (pointed out by Kanaoka-san) 2003-11-20 16:15:59 +00:00
yamt
d7b65981fb pthread__deliver_signal: swap oldmask and siginfo so that signal
handler's stack doesn't stomp siginfo.
this also fixes !__HAVE_SIGINFO, in that case
pthread__signal_tramp assumes uc->uc_stack.ss_sp points the old
signal mask.

pointed by uwe@.
2003-11-20 15:46:42 +00:00
kochi
e712db964a fix for ThinkPad 'large reference count' problem.
from shaohua.li at intel.com
2003-11-20 15:42:16 +00:00
wiz
7959ce3d95 Describe NO_TSC_TIME. Bump date. 2003-11-20 15:07:07 +00:00
scw
d657bddd8c In data_abort_handler(), honour pcb_onfault even in the case where
current_intr_depth > 0.
2003-11-20 14:44:36 +00:00
fvdl
56bf58a34b Add (commented out) and document NO_TSC_TIME. 2003-11-20 13:32:41 +00:00
fvdl
a8ea4f26c8 If NO_TSC_TIME is defined, do not use the tsc microtime. This option can
be used to make time pass a little more smoothly when running under
VMware.
2003-11-20 13:30:29 +00:00
dsl
6750190db8 Add some progress messages for MAKEVERBOSE == 1
Tweak dependency rules for (menu|msg)_defs.h so that everything isn't
recompiled if the xxx_def file has changed but the generated header
is unaffected.
2003-11-20 13:13:38 +00:00
dsl
33dbb7eda9 Fix box width calculation for menus without a 'shortcut' ("a: "). 2003-11-20 13:03:44 +00:00
junyoung
e58c050c81 Use predefined macro rather than hardcoded value. 2003-11-20 12:30:34 +00:00
dsl
b528ce0e0b Don't take the size of an mfs /tmp off the free disk space,
nor count a partition for it.
(Maybe the size of /tmp should be capped by that of swap.)
2003-11-20 09:47:53 +00:00
sekiya
53acd623c8 Add pckbc to device list. 2003-11-20 08:34:05 +00:00
sekiya
b26a57f648 Add driver for pckbc at hpc. There's an interrupt issue that still needs
to be resolved.
2003-11-20 08:31:13 +00:00
petrov
b5706bc691 Remove nwindows calculation, it's not used. Set l_cpu in cpu_switch. 2003-11-20 08:08:52 +00:00
wiz
999be53892 Add a paragraph about mkdep. 2003-11-20 08:07:52 +00:00
petrov
b56164b9ed Set curcpu() for SMP. 2003-11-20 08:04:04 +00:00
manu
3c00d1aad5 Start to implement another strange feature: signals as Mach software
exceptions. This can be requested with ptrace, and cause signals to
be transformed into a particular kind of exception.
2003-11-20 07:12:34 +00:00
lukem
6918f15fc1 Provide appropriate no-op defaults for _MK* macros, in case <bsd.own.mk>
is too old.
2003-11-20 07:08:02 +00:00
jonathan
89d603f9ea This file was derived from FreeBSD, where "in6pcb" is a macro for
"inpcb", and this struct inpcb* and struct inp6cb* are the same type.

On NetBSD they are different types, so we must change the types of
formal argument in IPv6-specific functions from "struct inpcb *" to
"struct in6pcb*".

The code didn't compile on NetBSD beforehand, if both FAST_IPSEC + INET6
were configured. This fix will cause even more short-term breakage for
that case, but its a step in the right direction: it shows up what
still needs to be fixed.
2003-11-20 06:35:09 +00:00
sekiya
b4a9ea3c2d ip2x can't handle four-meg ramdisks; use a three-meg ramdisk instead and
compile the kernel with -Os.
2003-11-20 05:27:07 +00:00
chs
0b0e802177 de-__P, remove register, ansify. 2003-11-20 03:58:47 +00:00
uwe
1e78682585 In pthread__locked_switch set self->pt_uc only when the context is inited.
In STACK_SWITCH subtract STACKSPACE, not add it (it's zero for now anyway).
2003-11-20 03:31:02 +00:00
sekiya
5c7fa3c8dd Tweak ramdisk size -- ip22 doesn't seem to like a four-meg image. 2003-11-20 01:57:09 +00:00
uwe
246d903de4 In intc_intr_priority() don't panic if the evtcode is not one of
those, that have their priority set in IPR registers, e.g. IRL
interrupts on Dreamcast.  Reported by Christian Groessler.
2003-11-20 01:22:19 +00:00
jonathan
dedf78268d Patch OpenSSL to use opencrypto (aka /dev/crypto), if configured and
(per kernel policy) for crypto transforms for which hardware
acceleration is available. Affects:

   crypto/dist/openssl/crypto/engine/eng_all.c
   crypto/dist/openssl/crypto/engine/hw_cryptodev.c
   crypto/dist/openssl/crypto/evp/c_all.c

as posted to tech-crypto for review/comment on 2003-08-21.
2003-11-20 00:55:51 +00:00
nathanw
0dcab12a43 Add a missing $(build_exeext) 2003-11-19 23:45:25 +00:00
nathanw
31bbd833a9 Change the make(1) command lines generated by crunchgen from:
"make -a -b VAR=VALUE -c -d target" to
"make -a -b -c -d VAR=VALUE target"

to avoid depending on make's undocumented and unportably-implemented
handling of the former case.

Makes crunchgen and nbmake work together on Cygwin.
2003-11-19 22:44:15 +00:00
fvdl
f2fdecfc92 Correct number of arguments to sysctl_rdint. 2003-11-19 22:40:55 +00:00
christos
717444998f Add long-long cast for cross-build printf portability. We could be using
PRI* macros, but that would be too much complexity for a host tool.
2003-11-19 21:10:27 +00:00
jonathan
b6e73d53fb Footwork for fast-ipsec and IPv6: when compiling sys/netinet/tcp_input.c
for both FAST_IPSEC and INET6, include <netipsec/ipsec6.h>.
2003-11-19 20:47:00 +00:00
jhawk
6a6c54a1d0 Provide a workaround for PR bin/12900.
When /dev is an fdesc, and /dev/tty is stat()ed without a controlling tty,
a "Device not configured" error is returned.

Filter mtree's stderr to ignore this error.

If fdesc is fixed to not behave in this fashion, this workaround can
be removed; bin/12900 should remain open until that time.
2003-11-19 20:28:19 +00:00
simonb
28817edd35 Restore handling of reloc entries that point to unaligned locations
that seems to have disappeared in rev 1.34.

Thanks to Jason Thorpe for suggesting where to look.
Fixes the simple test case in PR port-mips/23366.
2003-11-19 19:41:57 +00:00
jonathan
130f3bfc26 Patch back support for (badly) randomized IP ids, by request:
* Include "opt_inet.h" everywhere IP-ids are generated with ip_newid(),
  so the RANDOM_IP_ID option is visible. Also in ip_id(), to ensure
  the prototype for ip_randomid() is made visible.

* Add new sysctl to enable randomized IP-ids, provided the kernel was
  configured with RANDOM_IP_ID. (The sysctl defaults to zero, and is
  a read-only zero if RANDOM_IP_ID is not configured).

Note that the implementation of randomized IP ids is still defective,
and should not be enabled at all (even if configured) without
very careful deliberation. Caveat emptor.
2003-11-19 18:39:34 +00:00
christos
bb4ed2e755 PR/23490: Jason Thorpe: 64-bit config(8) breaks negative RTC_OFFSET
Fixed by preserving the format of the input number and using it to format
the output number. This avoids the -10 < n < 10 kludge.
2003-11-19 18:06:13 +00:00
wiz
c09770cac0 Use Rv for return values section; bump date. 2003-11-19 16:50:09 +00:00
christos
5a02ed0f97 - don't use MALLOC for non constant counts
- check malloc() size.
2003-11-19 16:43:38 +00:00
christos
4ca4498262 Don't include malloc.h if you are not going to use it. 2003-11-19 15:48:21 +00:00
christos
42e971bfba Previous fix was incomplete; did not handle negative values.
It is best to use size_t's when dealing with sizes, so that
testing for negative ones, is not needed.
2003-11-19 15:46:16 +00:00
pooka
cce38fddc2 document RETURN VALUES 2003-11-19 15:20:32 +00:00
scw
1ba37196a9 Include arch/powerpc/ibm4xx/intr.c only if a particular board actually
uses the generic 4xx interrupt implementation.
There are some 4xx boards with entirely different interrupt controllers.
2003-11-19 14:27:24 +00:00
scw
c16a38a4d1 Add support for an MBR disklabel if EVBPPC_HAS_MBR is defined. 2003-11-19 13:58:11 +00:00