sekiya
d11f147850
Add initial ip20 (Indigo) support. hpc1 code to follow. Code originally
...
from Steve Rumble, with modifications by myself.
2003-11-22 03:35:44 +00:00
matt
99f7a6b7db
More PPC64 changes. (latent for now).
2003-11-21 22:57:14 +00:00
tsutsui
3fb3c2b562
Revert previous DPRINTF changes since gcc3 properly removes text strings
...
in while(0) statements during optimization.
2003-11-21 19:44:53 +00:00
tsutsui
604d3c43a9
Make sure machine and ${MACHINE_ARCH} symlinks created before make depend.
2003-11-21 19:39:19 +00:00
matt
d765841d3e
Restore ci_curpm since it re-enables 603 to working state.
2003-11-21 18:07:29 +00:00
matt
13e522ee98
Add PowerPC64 definitions
2003-11-21 17:40:48 +00:00
abs
115bd31b73
Sync with GENERIC.MP (in particular add MPBIOS). Noted by Adam C. Migus
2003-11-21 09:29:11 +00:00
gson
19871d69f2
Code enabled by option AUDIO_DEBUG exhibited undefined behavior and
...
caused compiler warnings with gcc 3.3.2.
2003-11-21 03:08:37 +00:00
chs
6cca27ceb0
add cnmagic support to pdc console driver.
2003-11-21 00:25:36 +00:00
manu
43b8c2c38e
Avoid re-allocations of darwin_emuldata structures by COMPAT_MACH. This
...
caused a memory leak, and as mach_emuldata is shorter than darwin_emuldata,
it caused memory corruption.
2003-11-20 22:05:25 +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
kochi
e712db964a
fix for ThinkPad 'large reference count' problem.
...
from shaohua.li at intel.com
2003-11-20 15:42:16 +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
junyoung
e58c050c81
Use predefined macro rather than hardcoded value.
2003-11-20 12:30:34 +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
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
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
fvdl
f2fdecfc92
Correct number of arguments to sysctl_rdint.
2003-11-19 22:40:55 +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
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
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
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
jonathan
6ec8242194
Wrap noisy pointless message about denied userspace requests with
...
`#ifdef CRYPTO_DEBUG', per Jason Thorpe's suggestion.
2003-11-19 04:14:07 +00:00
jonathan
86b22c558b
Fix typo.
2003-11-19 03:24:20 +00:00
jonathan
22b38bb12a
Clean up userlevel access to software kernel transforms, in preparation
...
for using /dev/crypto for OpenSSL:
1. Add comments explaining crypto_devallowsoft, explaining the
OpenBSD-style three-way logic actully implemented in crypto_newsession().
2. Pass crypto_devallowsoft as the final argument to crypto_newsession(),
instead of a constant 0 value.
3. Set the default value of crypto_devallowsoft to 1, to allow
/dev/crypto access only for hardware-supported transforms.
Items 1-3 may be revised to match the FreeBSD two-way logic, if the
consensus is that there's no point to forcing software transforms.
But as a first step, let the description match what the code actually does.
GC unused variables usercrypto, userasmcrypto, cryptodevallowsoft from
cryptodev.c, in favour of variables crypto_usercrypto, crypto_userasmcrypto,
crypto_devallowsoft, which are used as well as defined in crypto.c.
2003-11-19 03:18:33 +00:00
matt
2a5baf8a0e
Add missing lpt entries.
2003-11-19 02:54:50 +00:00
gavan
f6aee98e0f
Save arguments passed into scratch registers, rather than scratch
...
registers into arguments passed.
Avoids corruption of anything pointed to by r3 and r4 on entry to
os_get_env, and allows pass-by-reference values to be returned.
2003-11-19 00:11:55 +00:00
jonathan
94d42f90db
Add opencrypto and drivers for PCI cryptographic accelerators --
...
hifn (Hifn 7751), ubsec (Broadcom 582x) -- to i386 GENERIC kernel.
2003-11-18 23:07:37 +00:00
jonathan
a91ce15e10
Remove erroneous '2 *' from 'bzero(*sched, 2 * sizeof(rijndael_ctx));'
...
After using AES from sys/crypto, we only malloc sizeof(rijndael_ctx),
and we were bzero()ing past the end of the aes ctx, leading to panics.
2003-11-18 23:01:39 +00:00
lukem
1d646ef2fe
install /usr/include/sys/soundcard.h as a symlink to ../soundcard.h
2003-11-18 23:00:04 +00:00
gavan
de7bc02bb2
Mark module as 32-bit compatible
2003-11-18 22:46:33 +00:00
scw
61aab8b582
On a fatal fault, dump the trapframe's contents to the console.
...
This is useful when DDB is not available, or practical.
2003-11-18 22:39:05 +00:00
briggs
3a312a4033
Use aprint_* instead of printf.
2003-11-18 21:40:13 +00:00
briggs
fa618d5cf3
Use aprint_normal instead of printf in scsipi_print_xfer_mode().
2003-11-18 21:39:12 +00:00