Commit Graph

115721 Commits

Author SHA1 Message Date
jdolecek e0fe42681d use copyin()/copyout() instead of fubyte()/subyte()
also nuke uvm_useracc() check, copyin()/copyout() do this atomically

XXX only compile-tested
2003-08-02 19:51:23 +00:00
matt dd1c661661 Nuke stmreg/ldmreg. PPC64 doesn't have a lmd/stmd so make sure lmw/stmw
don't invoke valid instructions on PPC64.
2003-08-02 19:40:39 +00:00
matt c9d56ac39d Add symbolic offsets for what's in cpu save locations.
Add a PPC64 variant of mftb
2003-08-02 19:35:26 +00:00
jdolecek 16b74086ed replace fuword() with copyin(), and suword() with copyout() 2003-08-02 19:21:48 +00:00
matt 2f71595941 Make this compile with gcc3. Change kernel_pmap_store to array of struct
pmap instead of array u_long.  A bit of space is wasted but it supresses
the -Wcast-align warning.
2003-08-02 19:10:04 +00:00
lukem 61be5790f1 Un-obsolete kerberosIV/des.h, and make it a symlink to ../des.h.
It can't be obsoleted because that causes builds with an old
${DESTDIR}/usr/include/kerberosIV/des.h to fail in directories which
have CPPFLAGS+=-I${DESTDIR}/usr/include/kerberosIV so that their #include
of <krb.h> works (and any subsequent #include <foo.h> by <krb.h>).
(Note: gcc3 won't work with a hack such as prepending -I${DESTDIR}/usr/include
before -I${DESTDIR}/usr/include/kerberosIV.)

Affected directories include lib/libkafs, and any thirdparty source
which used a similar -I/usr/include/kerberosIV hack to use <krb.h>.
2003-08-02 18:49:10 +00:00
matt 4e5cf29ef5 Add new files for gcc3 from native-gcc build. (alpha distribution builds
now successfully build).
2003-08-02 18:47:40 +00:00
bjh21 47a6970dac Put boot32,ffa into the release tree so people can use it for booting ramdisk
kernels.
2003-08-02 18:02:36 +00:00
bjh21 aebe480082 Add boot32 bits. 2003-08-02 17:59:04 +00:00
bjh21 6407c43a48 Descend into stand so boot32 gets built. 2003-08-02 17:57:35 +00:00
provos ab6fc8a1fd fixed contrived race condition during attachment; from marius@monkey.org 2003-08-02 14:45:08 +00:00
provos 037feaaf20 avoid warning due to name collision. 2003-08-02 14:34:35 +00:00
provos 2e1af85ab0 normalize CWD for cases where CWD has a symlink in it. should solve
problems where CWD policies would not match.
2003-08-02 14:31:10 +00:00
provos 08ab84f25d introduce normalize filename function. 2003-08-02 14:29:33 +00:00
provos 43914d5f2f change CWD handling. CWD is fixed to the CWD of the systrace process. 2003-08-02 14:24:30 +00:00
drochner 9c0942bc88 sync comments with reality 2003-08-02 14:12:51 +00:00
tsutsui 75e4cfdd9e splx() doesn't require a return value. (from mvme68k) 2003-08-02 13:04:49 +00:00
tsutsui afa4f85c01 TAB/space cosmetics 2003-08-02 12:48:09 +00:00
kochi 04b33c68cb ACPI CA 20030714 version is out 2003-08-02 12:23:28 +00:00
jdolecek 28d75bbaf3 remove all traces of non-working quota support
add quota support to TODO - makes sense only once writing support
would be implemented, and only once NTFS would support notion of file 'owner'

adresses kern/21967 by Martin Husemann
2003-08-02 12:11:56 +00:00
jdolecek f462956915 bump date for last 2003-08-02 11:43:21 +00:00
jdolecek 28dd22899a actually enable MNT_GETARGS support 2003-08-02 11:42:20 +00:00
jdolecek 62e0ed44c8 Allow separate masks for files and directories. Useful e.g. to turn
the execute bit off for files, but keep search permission for directories.
Change contributed in PR kern/21538 by Pavel Arnost, based on some FreeBSD
patches.
Further manpage changes, and backward-compatibility adjustments done by me.

Also fixes PR kern/16778 by Johan Danielsson, and PR kern/3400 by Rick Byers
2003-08-02 11:41:19 +00:00
jdolecek 913ed381f5 g/c all traces of FreeBSD-specific code - it only obfuscated the code without
any real benefit
2003-08-02 10:11:47 +00:00
pk 0ac4b6aae4 On small sun4c machines trim the buffer cache to reduce the demand for
kernel virtual memory. This leaves more of the precious PMEG resources
available for user space VM which speeds up things considerably, since
a reasonable PMEG working set can be maintained.
2003-08-02 08:10:44 +00:00
manu 06da3d32ba Build again with MALLOCLOG 2003-08-02 07:08:02 +00:00
lukem 980c535c83 the new world order is to use DPSRCS to add extra dependencies... 2003-08-02 05:16:56 +00:00
lukem d65b74da7c Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS

Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".

Update documentation for some other make variables
2003-08-02 00:34:25 +00:00
mrg e128feab59 use -isystem-cxx for now. update the "mostly ready to switch to gcc3" list 2003-08-01 22:51:34 +00:00
kristerw 2e750373ec Add a missing NULL _cookie to the arm32_bus_dma_tag initialization. 2003-08-01 22:43:27 +00:00
martin 99716c5d05 Make this compile for big endian archs.
Fixes PR port-sparc64/22333.
2003-08-01 22:25:55 +00:00
christos 14ba79e309 Make this compile with gcc-3 2003-08-01 21:28:14 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
scw 5aa077f5cf In fxp_intr(), bail early without touching any registers if sc_enabled is
zero, otherwise we could cause PCI master aborts if the card is in D3 power
state and we happen to share a PCI interrupt line with some other device.
2003-08-01 14:54:12 +00:00
mrg 95cc5b8954 regenerate 2003-08-01 13:56:59 +00:00
mrg 391773a711 - fix several build problems
- regenerate for most platforms.  missing:
	m68000, alpha, sh3eb.
2003-08-01 13:55:36 +00:00
mrg 774d0597a5 new (old) -isystem-cxx flag to set a C++ system include directory.
* c-opts.c: Document -isystem-cxx.
* cppinit.c (new_pending_directive): Add -isystem-cxx entry.
* gcc.h. (DEFAULT_WORD_SWITCH_TAKES_ARG): add -isystem.


XXX: possibly can use $CPLUS_INCLUDE_DIR.
2003-08-01 13:37:28 +00:00
dsl a2a4308b26 Remove unused extern for __winlistp. 2003-08-01 13:29:06 +00:00
mrg 2c28bbc2b3 avoid a gcc3.3 warning 2003-08-01 13:20:35 +00:00
lukem e1ba5f323e simplify the ${PROG}: target to reduce duplication between the DESTDIR
and !DESTDIR cases...
2003-08-01 13:08:35 +00:00
pk 21a55ba7c3 Fix initialisation of the module_viking_sun4d structure. 2003-08-01 12:29:30 +00:00
pk d08520ecd9 mainbus_attach: declare appropriate variables for SUN4D too. 2003-08-01 12:25:45 +00:00
pk 184c0df1a9 Get machine/dev/sbusvar.h for SUN4D too. 2003-08-01 12:21:59 +00:00
pk 6dafe11ede Correct some `defined(SUN*)' inconsistencies. 2003-08-01 12:19:50 +00:00
wiz 972f20179d regen (avoid duplicate definition, PR 22331) 2003-08-01 11:55:42 +00:00
wiz 7f48a3b625 Avoid duplicate definitions. From Quentin Garnier in PR 22331. 2003-08-01 11:55:03 +00:00
lukem 46261912cf Use SCRIPTS=unifdefall.sh instead of SCRIPTS=unifdefall,
as the latter causes the .sh: rule in <sys.mk> to be used, which
leaves unifdefall in the .OBJDIR unless a CLEANFILES rule is added.
2003-08-01 11:51:14 +00:00
lukem 8ecf6c5100 revert previous; lossage was caused by local makefile changes 2003-08-01 11:09:38 +00:00
lukem 913e4f842e add explit dependency for lex.c on parse.h 2003-08-01 10:49:26 +00:00
lukem d913007a1a Explicitly add dependencies for foo.cpp from foo.y.
Ensures that foo.d is correctly built from foo.cpp and not foo.y->foo.c.
2003-08-01 10:36:42 +00:00