Commit Graph

90281 Commits

Author SHA1 Message Date
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
thorpej a50163af65 Build separate crt{begin,end}.o and crt{begin,end}S.o files, rather
than linking them at install time.  Forthcoming changes require different
behavior for static vs. shared object versions of these files.
2001-12-31 00:11:13 +00:00
thorpej c41160abff Add support for registering Java classes emitted by the Java compiler
(e.g. the Java compiler in GCC 3.x) into the ".jcr" section.
2001-12-30 23:45:00 +00:00
thorpej 6027dc5536 Make sure the Dwarf2 EH frame info is 4-byte aligned. 2001-12-30 23:26:20 +00:00
thorpej 5b81869561 Don't use multi-line string literals; they're not supported by ANSI C. 2001-12-30 23:23:38 +00:00
dbj f03e8813e0 allow ddb access to lr, ctr, cr and xer registers when not on PPC_IBM4XX 2001-12-30 20:53:04 +00:00
dbj 98d1a18067 remove unused variable in kgdb_acc 2001-12-30 20:50:53 +00:00
augustss ff21b251a0 Make sure we don't have any pending softintrs when entering polling mode.
Thanks to Darrin for finding and fixing this problem when using USB
keyboards in DDB.
2001-12-30 20:26:59 +00:00
augustss 776b0e7851 A little more debug. 2001-12-30 19:37:43 +00:00
someya a0d9eb8746 add powerhook support to resume correctly, fix PR#13079. 2001-12-30 19:33:15 +00:00
thorpej e23f3d9104 Fix -Wshadow warnings (gcc 3.1). 2001-12-30 19:26:28 +00:00
thorpej 6f2f5bdcc6 Fix -Wshadow warnings. 2001-12-30 19:23:59 +00:00
augustss 70dea46276 Fix typo. 2001-12-30 19:22:28 +00:00