takemura
6f19920b47
Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
...
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-16 14:37:47 +00:00
minoura
da2dab0c10
Finish PMAP_NEW.
...
- Wrong argument to pmap_kremove (vm_machdep.c:pagemove()).
- Uninitialized variable (pmap.c:pmap_kremove <- this should be fixed long ago...)
1999-09-16 14:35:42 +00:00
msaitoh
224d34b5e1
remove sh3/include/mmeye.h
1999-09-16 13:32:24 +00:00
lukem
5727f01056
bump for __diagassert().
1999-09-16 12:54:26 +00:00
msaitoh
ffbd08b126
remove extra Id
1999-09-16 12:48:35 +00:00
msaitoh
814f6b8936
add NetBSD RCS ID
1999-09-16 12:48:06 +00:00
kleink
02fd6c4586
KISS
1999-09-16 12:47:31 +00:00
lukem
3471ac6647
return (0) if size or count == 0 before check for _DIAGASSERT(buf != NULL).
...
this is ok according to SUS.
1999-09-16 12:45:34 +00:00
takemura
db2b0adebd
Import NetBSD/hpcmips source files from hpcmips repository.
...
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:23:18 +00:00
takemura
2f85eb6142
Import NetBSD/hpcmips source files from hpcmips repository.
...
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:13:17 +00:00
leo
f7fd8ced64
Remove FP-emulation from the TT-kernel. All TT's should have an FPU.
1999-09-16 12:00:04 +00:00
leo
b9b9cc8cb9
Make this compile again.
1999-09-16 11:58:49 +00:00
lukem
b48252f365
* use _DIAGASSERT() to check pointer arguments against NULL and file
...
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.
the first two items result in the addition of code similar to the
following in various functions:
_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
1999-09-16 11:44:54 +00:00
lukem
d21225500f
revert previous (as per klaus). will diagassert() name == NULL check instead...
1999-09-16 11:36:19 +00:00
darrenr
50e510e367
If machdep.booted_kernel can be found in sysctl output, feed that name into
...
kvm_mkdb so that when we boot we always have an upto-date kvm db, allowing
dmesg and friends to run without error when we do "boot netbsd.fun" to test
kernels, etc.
1999-09-16 11:00:44 +00:00
lukem
2c6c9ee64c
sort includes
1999-09-16 09:57:06 +00:00
lukem
ec31e06fff
wrap long line
1999-09-16 09:54:28 +00:00
lukem
b035f7ab5e
check a couple more args
1999-09-16 09:53:41 +00:00
lukem
bd926931f5
whitespace knf
1999-09-16 09:43:42 +00:00
is
bc086d24af
In the division core: if the highest bit of the dividend is set,
...
we have to be careful when shifting the divisor. Test this.
This fixes PR 7760 by Richard Earnshaw.
1999-09-16 09:15:05 +00:00
fvdl
7f5f4a3af3
Remove getopt from the Makefile too.
1999-09-16 09:12:06 +00:00
lukem
f385db7764
check name != NULL before checking name[0] != '\0'
1999-09-16 08:12:21 +00:00
soren
6c591e77d0
Fix botched RCS IDs.
1999-09-16 05:58:18 +00:00
itojun
64061af71d
temporary workaround against KAME PR 154.
...
http://www2.kame.net/dev/query-pr.cgi?pr=154
This allows many keys to be dumped via "setkey -D", or many keys
to be configured by single "setkey -c < foo" command.
1999-09-16 04:20:03 +00:00
mycroft
2500a4b975
Some minor cleanup of :: tests.
1999-09-16 00:54:14 +00:00
mycroft
ce14db1fcd
Fix a bug in the previous. In the `compat' case, we don't actually use the
...
list of target nodes returned by Make_ExpandUse(). We have to search the
cohorts explicitly while iterating through the tree. So, tweak CompatMake()
to do this.
1999-09-16 00:49:48 +00:00
sommerfeld
ef22c28d6f
Use ${CONFIG} rather than config so cross-builds can correctly select which one to use.
1999-09-16 00:30:06 +00:00
sommerfeld
eabdb3b0c8
Define CONFIG, so it can be overridden for cross-builds.
1999-09-16 00:28:31 +00:00
sommerfeld
e8a86fe7eb
Include <lib/libkern/libkern.h> instead of <sys/systm.h>.
...
(the former no longer has mem* prototypes).
Remove the b* vs mem* kludge.
This change allows standalone libkern to build on alpha again.
1999-09-16 00:06:46 +00:00
lukem
8423dd3490
implement __diagassert(). currently this just prints the assertion to
...
stderr and syslog()s to user.debug. (it does not abort).
XXX: implement a scheme similar to $MALLOC_OPTIONS which gives the
user control over whether to stderr, syslog, abort, do nothing, etc...
1999-09-15 23:57:21 +00:00
lukem
6504726483
if _DIAGNOSTIC is defined, define _DIAGASSERT() to call __diagassert(),
...
otherwise it's a no-op.
prototype __diagassert().
1999-09-15 23:53:26 +00:00
sommerfeld
bcb141e5d0
Reuse the Hash_Entry `name' field to store the variable name when we
...
can (i.e., everything except environment variables, which aren't
stored in hash tables).
While we're here, inline the body of VarDelete into Var_Delete since
it's the only caller and it's just simpler that way when v->name can
share storage with the hash entry and may not need to be freed
separately.
Speeds up the infamous libc build benchhmark maybe 1% on PIII, 4% on
alpha pc164
Suggested by Perry Metzger.
1999-09-15 22:51:05 +00:00
thorpej
6266379c9d
Be slightly more informative in the tsleep() diagnostics.
1999-09-15 21:54:57 +00:00
augustss
62d46f73e8
Improve the USB comments.
1999-09-15 21:18:10 +00:00
augustss
09774ca21c
Remove one, add none!
1999-09-15 21:14:44 +00:00
augustss
2557320246
Handle the case when a USB transfer is so long that it crosses two page
...
(4K) boundaries. OHCI cannot do that with a single TD so we make a chain.
1999-09-15 21:14:03 +00:00
augustss
7fcc1703ff
Cosmetic change: s/xfer/data/
1999-09-15 21:12:29 +00:00
augustss
80e09c28e9
Use a bigger buffer when transferring data.
1999-09-15 21:11:27 +00:00
augustss
58c7de99c1
Move the code around a little and clearly mark how to delay attachment
...
(during cold boot) until the interrupts are on.
1999-09-15 21:10:11 +00:00
augustss
5260cadff2
Add a sanity check to the computed actual transfer length.
1999-09-15 21:08:59 +00:00
augustss
d4f0eac72e
Change SPLUSBCHECK diagnostic macro a little.
1999-09-15 21:08:19 +00:00
is
f5050d025a
We only need the ether_ipmulticast_min and _max addresses if we have INET
...
compiled in.
1999-09-15 20:48:19 +00:00
is
4f2d454a07
Synchronize comments with reality.
1999-09-15 20:31:53 +00:00
is
cef52aa203
Add -L option. netstat -r -L behaves like 4.3BSD netstat -r, that is, it
...
does not show route table entries pointing to link level addresses (ARP
entries or IPv6 neighbour discovery entries).
1999-09-15 20:12:18 +00:00
is
4d1abcb145
Netstat knows about "-f inet6".
1999-09-15 19:57:02 +00:00
thorpej
e8431098fe
Add a mechanism to defer configuration of children until interrupts
...
are enabled.
1999-09-15 19:37:08 +00:00
thorpej
8995425278
Prototype cpu_configure().
1999-09-15 19:35:53 +00:00
thorpej
3b01d1b872
Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
...
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-15 18:10:33 +00:00
kleink
252971afdb
Add indirect reference stubs for inet_[ap]ton() for environments not supporting
...
weak aliases; addresses PR lib/7435 but leaves the original file intact.
1999-09-15 14:21:01 +00:00
augustss
e54df1b10c
Handle the use_polling flag with a lttle more care and only set it if
...
we are cold booting.
1999-09-15 14:17:14 +00:00