thorpej
57a44a3d17
Need <string.h> for memcpy() prototype (noticed by gcc 3.1).
2001-12-31 20:19:14 +00:00
thorpej
ed2b20a87a
Need <stdlib.h> for exit() prototype (noticed by gcc 3.1).
2001-12-31 20:16:34 +00:00
thorpej
19a95cad9c
Fix warnings generated by gcc 3.1.
2001-12-31 20:09:53 +00:00
thorpej
6b3e0a100a
Remove -I${DESTDIR}/usr/include and -I${DESTDIR}/usr/include/openssl
...
from CPPFLAGS.
2001-12-31 20:04:47 +00:00
thorpej
bf0e32f7fc
Remove unneeded/unused TREE_ISEMPTY() (which also happens to clash
...
with the TREE_ISEMPTY() in menutree.h, which gcc 3.1 correctly warns
about).
2001-12-31 20:00:40 +00:00
thorpej
c31bd4704c
Fix gcc 3.1 printf format warnings generated by extra arguments being
...
passed to varargs CPP macros.
2001-12-31 19:52:45 +00:00
thorpej
dbaa175ee7
Add comment delimiters around the token after an #endif
2001-12-31 19:46:57 +00:00
thorpej
1b1d20a895
Need <strings.h> for ffs() prototype (noticed by gcc 3.1).
2001-12-31 19:45:03 +00:00
thorpej
aa38e62655
Need <stdlib.h> for abort() prototype (noticed by gcc 3.1).
2001-12-31 19:44:27 +00:00
thorpej
82f66ec4a0
Add -I${.CUDRIR} to CPPFLAGS.
2001-12-31 19:41:37 +00:00
thorpej
429c29847e
Statements must follow labels.
2001-12-31 19:33:58 +00:00
thorpej
d5b972580e
Need <string.h> for strcmp() prototype (noticed by gcc 3.1).
2001-12-31 19:31:23 +00:00
thorpej
097956219f
Remove -I${DESTDIR}/usr/include and -I${DESTDIR}/usr/include/openssl
...
from CPPFLAGS.
2001-12-31 19:26:59 +00:00
thorpej
4d1b7fd158
Remove -I${DESTDIR}/usr/include and -I${DESTDIR}/usr/include/openssl from
...
CPPFLAGS.
2001-12-31 19:25:36 +00:00
thorpej
7532b272b3
Remove -I${DESTDIR}/usr/include/openssl from CPPFLAGS; it's unnecessary,
...
and having it causes the wrong <err.h> to be included.
2001-12-31 19:24:12 +00:00
chs
ef57a67ca1
fix locking for loaning. in general we should be looking at the page's
...
uobject and uanon pointers rather than at the PQ_ANON flag to determine
which lock to hold, since PQ_ANON can be clear even when the anon's lock
is the one which we should hold (if the page was loaned from an object
and then freed by the object).
2001-12-31 19:21:36 +00:00
thorpej
f8fdb0d1c9
Remove -I${DESTDIR}/usr/include from CPPFLAGS; it is unnecessary, and
...
it makes gcc 3.1 unhappy (because -isystem ${DESTDIR}/usr/include is
specified later).
2001-12-31 19:02:49 +00:00
thorpej
3d561f4807
Avoid an "operation on foo may be undefined" warning (gcc 3.1).
2001-12-31 18:53:32 +00:00
thorpej
2aa37f4ab3
Change some:
...
foo += sscanf(++foo, ...);
constructs to:
++foo;
foo += sscanf(foo, ...);
to avoid the following warning from gcc 3.1:
warning: operation on `pos' may be undefined
2001-12-31 18:45:04 +00:00
thorpej
5d537fa0b9
Need <string.h> for memset() and strcmp() prototypes (noticed by
...
gcc 3.1).
2001-12-31 18:38:32 +00:00
dbj
0057f73f87
save and restore sprg[0-3] when calling openfirmware
...
this fixes calling OF_finddevice() with invalid devices,
and as a result fixes booting with -d.
Apparently openfirmware expects persistence of sprg2 and/or sprg3
I suspect this is used when handling exceptions
2001-12-31 18:35:26 +00:00
thorpej
ffe66c84f5
Need <string.h> for strcmp() prototype (noticed by gcc 3.1).
2001-12-31 18:34:52 +00:00
thorpej
6c46adefc6
Labels must be followed by statements.
2001-12-31 18:31:59 +00:00
dbj
98cbceb382
handle have_address=TRUE
2001-12-31 18:29:07 +00:00
matt
873f33f78e
Make the same change to icache/dcache size calculation as was done to ecache.
...
Fixes PR 12844.
2001-12-31 16:26:10 +00:00
augustss
cec9735688
Delay bus enumeration a little in case the controller is a companion
...
controller. This way the main controller can gain ownership of the port
before enumeration starts.
2001-12-31 15:55:51 +00:00
augustss
d8e5a1dc07
Dump enpoint number instead of endpoint index.
2001-12-31 15:54:27 +00:00
lukem
1f5f54d132
add <sys/systm.h> (for libkern.h) now that -ffree-standing is in effect
2001-12-31 15:01:51 +00:00
uwe
0207013726
Now that sbus_bus_mmap was converted to do the proper address
...
translation, get rid of sbus_bus_addr. Since sbus_bus_addr is used by
framebuffer drivers that are shared with sparc64 we cannot just change
the callers to use BUS_ADDR() w/out coordinating the change with
sparc64 that uses a different calling protocol, so stub our
sbus_bus_addr to just return BUS_ADDR.
2001-12-31 15:00:58 +00:00
blymn
64df79afe7
fix __startwin() so it outputs the init strings to the correct device.
2001-12-31 14:23:11 +00:00
blymn
4118c45610
* Fixed uninitialiased variable problem in newterm
...
* Implemented better fix for screen not clearing for refresh()
when newterm used to start curses.
2001-12-31 14:16:01 +00:00
augustss
88da42185c
Don't try to deactivate child if we have no bus yet.
2001-12-31 12:52:50 +00:00
augustss
0498c38d3d
Whitespace fixes (from FreeBSD).
2001-12-31 12:37:13 +00:00
augustss
637dc4b2fe
Change xfer abort to wait for the softintr to run.
2001-12-31 12:20:35 +00:00
augustss
096f451f64
Change abort slightly.
...
Change debug output.
2001-12-31 12:16:57 +00:00
augustss
f1397b7e37
Dump more of the command.
2001-12-31 12:15:46 +00:00
augustss
152efb1a0e
Make a typedef for struct proc to make portingeasier.
2001-12-31 12:15:21 +00:00
augustss
d14e739b92
Don't allow setting the configuration when an endpoint is open. From
...
FreeBSD.
2001-12-31 11:56:37 +00:00
augustss
0a3269865e
Only clear stall if endpoint is stalled. From FreeBSD.
2001-12-31 11:54:06 +00:00
mrg
e5fc1d934a
clarify usage. idea from david obrien.
2001-12-31 09:44:04 +00:00
matt
0bc218f05c
When determining ecache size, try using ecache-size. if it doesn't exist,
...
fallback to the old method (ecache-nlines * ecache-linesize).
2001-12-31 07:30:46 +00:00
chs
b4224d4d38
fix locking in nfs_getpages().
2001-12-31 07:16:47 +00:00
lukem
4c7a4f8eda
don't bother printing a warning about the cylinder group size being
...
restricted if -c isn't given; it just confuses a user of newfs (and
the cpg info is printed as part of the display anyway), and prints an
unnecessary warning for mount_mfs.
2001-12-31 07:07:58 +00:00
chs
4d069e8517
in uvm_vnp_setsize(), wait for any i/o in progress on pages that we free.
2001-12-31 07:00:15 +00:00
chs
03ea276e84
in genfs_gop_write(), actually set the B_ASYNC flag on buffers that we're
...
not going to wait for. this doesn't matter for real devices since we call
VOP_STRATEGY() directly, but NFS uses this flag to decide whether or not
to hand the buffer off to an nfsiod thread.
2001-12-31 06:44:58 +00:00
chs
64b0c2adbb
in genfs_putpages(), we must wait for any pending write i/os to complete
...
if the putpages request is synchronous.
2001-12-31 06:40:08 +00:00
lukem
14fb096dce
document that default block-size, frag-size, and bytes-per-inode are
...
now dependent upon file system size
2001-12-31 02:27:14 +00:00
thorpej
c64b324a8f
Fix -Wshadow warnings (gcc 3.1).
2001-12-31 01:04:46 +00:00
thorpej
d8abc59932
Add support for invoking GNU C++ local destructors in shared objects
...
via the __cxa_finalize() mechanism.
XXX Only enabled for new-toolchain platforms, as it requires the assembler
to support the .hidden pseudo-op.
2001-12-31 00:40:11 +00:00
jhawk
a21d1ea7ac
Convenience variables (workXX) don't work, so don't document them.
2001-12-31 00:35:21 +00:00