Commit Graph

112966 Commits

Author SHA1 Message Date
isaki
1175e83334 Style fix. 2003-05-17 10:38:55 +00:00
isaki
31e6e287c2 Style and indent fix. 2003-05-17 10:37:55 +00:00
dsl
7452c78152 Fix botched nathanw_sa_merge change
fixes port-i386/21603
2003-05-17 10:34:39 +00:00
isaki
29d1fbba67 More style fix. 2003-05-17 10:11:19 +00:00
scw
66cf68c402 On some platforms, sizeof(db_expr_t) > sizeof(long), so add a method
to select the right format string (at compile time) when displaying
variables of type db_expr_t.

This fixes a problem where ddb(4) would only display the low 32-bits
of registers for an ILP32 kernel on SH5, even though registers
(and db_expr_t) are always 64-bits wide.
2003-05-17 09:58:03 +00:00
isaki
8e975eac87 Use err(3), instead of original error(). 2003-05-17 09:55:43 +00:00
scw
273f50f75f Don't assume sizeof(db_expr_t) == sizeof(long).
Ditto for sizeof(db_addr_t), although I don't think this
one is currently an issue.
2003-05-17 09:48:05 +00:00
isaki
0b4ed52e83 Style and indent fix. 2003-05-17 09:43:58 +00:00
dsl
35605a88c0 A slightly better inet_parse(), tested in isolation. 2003-05-17 09:39:04 +00:00
scw
31a6b2aa80 Mask off the lowest two bits of the disassembly start address. This avoids
misaligned references caused by the SHmedia bit.
2003-05-17 09:31:33 +00:00
isaki
b397b57870 Correct argument type of isdigit().
PR port-x68k/21173 by Christian Biere.
2003-05-17 09:24:15 +00:00
scw
d1fb17639e defflag GT_ECC. 2003-05-17 08:27:58 +00:00
scw
f8a82ee618 Fix some DPRINTF statements to deal with bus_addr_t and bus_size_t types
defined in terms if 'int' instead of 'long'.
2003-05-17 08:23:14 +00:00
lukem
33018a010a improve description of how "build.sh -m mach" sets the default
MACHINE_ARCH, and list the special cases that this does not occur for.
2003-05-17 08:10:39 +00:00
lukem
e128ff2fcf Change evbsh3 to be like evbmips, in that a default MACHINE_ARCH
won't be provided for a MACHINE of "evbsh3"; the user has to explicitly
use "evbsh3-eb" or "evbsh3-el"
2003-05-17 07:52:52 +00:00
christos
dfc37ed355 clock.o depends on config_time.h 2003-05-17 05:39:35 +00:00
itojun
6213663758 avoid constant, use sizeof
[not sure about string termination here, so leave strncpy untouched]
2003-05-17 03:12:08 +00:00
gmcgarry
4134935e8c Xr xfd(1) 2003-05-17 03:03:32 +00:00
gmcgarry
3116152523 More on fonts. ISO C support. 2003-05-17 02:57:39 +00:00
nakayama
ca7665c318 Don't traverse here in case of sparc64 32-bit environment. 2003-05-17 02:45:04 +00:00
nakayama
6256a4034a Make sure to remove lib directories. 2003-05-17 02:30:14 +00:00
nakayama
cd35e5f630 Make sure to remove proper link. 2003-05-17 02:26:27 +00:00
nakayama
b89b148783 Avoid integer constant is too large warnings in gcc 3.3. 2003-05-17 01:50:56 +00:00
nakayama
a8c34ddce5 Avoid comparison is always false warnings in gcc 3.3 w/ 32-bit kernels. 2003-05-17 01:49:59 +00:00
nakayama
67e3486872 Avoid integer constant is too large warnings in gcc 3.3. 2003-05-17 01:48:22 +00:00
nakayama
a6d8c9185d Avoid comparison is always false warning in gcc 3.3 w/ 64-bit size_t. 2003-05-17 01:44:39 +00:00
nakayama
d0f6668f6d Avoid strict-alias warnings in gcc 3.3. 2003-05-17 01:38:39 +00:00
itojun
6a95da7f05 bound copies 2003-05-17 01:36:03 +00:00
nakayama
10e7db6bab Avoid strict-ailas warnings in gcc 3.3;
refer to change of sys/compat/netbsd32/netbsd32_netbsd.c r1.67 to r1.69.
2003-05-17 01:35:54 +00:00
itojun
93851338f2 sscanf overrun 2003-05-17 01:12:28 +00:00
itojun
aa5672d8c5 sscanf overrun 2003-05-17 01:02:01 +00:00
itojun
5be6cd5c8d prevent sscanf overrun 2003-05-17 00:50:36 +00:00
lukem
3b7c75cfba Change -b from skipping POINTTOPOINT|LOOPBACK to skipping ! BROADCAST.
Fixes my [bin/21604]
2003-05-17 00:48:13 +00:00
itojun
4fb82a79ed strlcpy 2003-05-17 00:46:04 +00:00
itojun
7bd6640a6d strlcat 2003-05-17 00:44:49 +00:00
thorpej
df7c83c4a0 Rewrite pagemove() to use pmap functions, rather than frobbing PTEs
directly.  The old code was totally bogus for the new pmap.  New code
lifted from SH5 port.

Fixes panics in ffs_balloc_ufs2() seen while stress-testing a file
system on an XScale-based server platform.
2003-05-17 00:41:36 +00:00
kristerw
96059deea7 Add a cast to make this build with -D__AUDIT__. 2003-05-17 00:28:44 +00:00
kristerw
2c7ae90e5b ISO C requires a statement after a label. 2003-05-16 23:55:32 +00:00
scw
08cfcbf2ee Document the SH5 toolchain hack for pthread_lock.c. 2003-05-16 23:43:29 +00:00
scw
5bd6b99940 Both pthread__lock_ras_start and pthread__lock_ras_end need to be
explicitly declared global in the asm() statements for the benefit of
SH5 binutils. Otherwise, the assembler/linker (I haven't figured out
which) botches the SHmedia bit when generating GOT references for
these symbols in the shared version of the library.

Ok'd by Nathan.
2003-05-16 23:37:47 +00:00
dsl
da0369cc40 Match latest mrouted source. 2003-05-16 23:24:38 +00:00
dsl
1f67e2a5fa Match latest mouted code 2003-05-16 23:10:15 +00:00
dsl
d26eb4f4c2 Make this comple with modified mrouted sources. 2003-05-16 23:00:29 +00:00
dsl
ee70b5d6af Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
2003-05-16 22:59:50 +00:00
scw
644aebe258 Duh. s/PIC_PROLOGUE/PIC_EPILOGUE/ 2003-05-16 22:40:56 +00:00
scw
d0f3a5b671 Add parentheses around macro arguments. 2003-05-16 21:40:41 +00:00
scw
1f1e54196d Make this compile with DEBUG defined. 2003-05-16 21:38:50 +00:00
nathanw
baa073280b Separately report unlocking an unlocked mutex and unlocking a mutex
owned by another thread.
2003-05-16 21:28:26 +00:00
dsl
adaf65b7b4 Language dependent menus are no longer pertinent 2003-05-16 20:08:01 +00:00
dsl
826d79a6f7 Re-instate last change, the sysinst I've just commited doesn't stand
a chance unless those fields are const char *.
2003-05-16 19:57:22 +00:00