Commit Graph

90033 Commits

Author SHA1 Message Date
lukem dc75a614e2 - Allow RTLD_DEFAULT_LIBRARY_PATH to be overridden.
- If ${SHLIBDIR} != ${LIBDIR}, then set RTLD_DEFAULT_LIBRARY_PATH to
  ${SHLIBDIR}:${LIBDIR}
2001-12-28 05:44:22 +00:00
lukem a5d8d0231c if SHLINKDIR != /usr/libexec, install compat symlink 2001-12-28 05:30:24 +00:00
shin b7e3f7d6e3 R4000/R4400 always detects virtual alias as if
primary cache size is 32KB. Actual primary cache size
is ignored wrt VCED/VCEI.
2001-12-28 04:06:06 +00:00
shin f15b256063 check if curproc is invalid, and do panic.
otherwise, we can't useful backtrace.
Ex. address error in interrupt handler.
2001-12-28 02:13:14 +00:00
minoura da0ba70058 Remove some error messages to reduce the size. 2001-12-28 02:12:55 +00:00
minoura ccde23ea6d Reflect reality. 2001-12-28 02:10:26 +00:00
toshii f8c1bea196 Allow jornada720 LCD and keyboard to be used as a boot console. 2001-12-28 01:41:53 +00:00
lukem 56640963f5 cosmetic tweak on an older comment 2001-12-28 01:40:50 +00:00
lukem efcc9a4c9d * Add user-controlled mk.conf variables
- SHLIBDIR	Location to install shared libraries if ${USE_SHLIBDIR}
			is "yes".  Defaults to "/usr/lib".

	- USE_SHLIBDIR	If "yes", install shared libraries in ${SHLIBDIR}
			instead of ${LIBDIR}.  Defaults to "no".
			Sets ${_LIBSODIR} to the appropriate value.
			This may be set by individual Makefiles as well.

	- SHLINKDIR	Location of shared linker.  Defaults to "/usr/libexec".
			If != "/usr/libexec", change the dynamic-linker
			encoded in shared programs

* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
	libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
	libtermcap libutil libz

* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
  to ${_LIBSODIR}/${LIB}.so* for compatibility.

* Always install /sbin/init statically (for now)


The net effect of these changes depends on how the variables are set:

  1.)	If nothing is set or changed, there is no change from the
	current behaviour:
		- Static /bin, /sbin, and bits of /usr/*
		- Dynamic rest
		- Shared linker is /usr/libexec/ld*so

  2.)	If the following make variables are set:
		LDSTATIC=
		SHLINKDIR=/lib
		SHLIBDIR=/lib
	Then the behaviour becomes:
		- Dynamic tools
		- .so libraries used by /bin and /sbin are installed to /lib,
		  with symlinks from /usr/lib/lib*so to -> /lib/lib*so
		  where appropriate
		- Shared linker is /lib/ld*so

  3.)	As per 2.), but add the following variable:
		USE_SHLIBDIR=yes
	This forces all .so's to be instaleld in /lib (with compat
	symlinks), not just those tagged by their Makefiles to be.
	Again, compat symlinks are installed
2001-12-28 01:32:37 +00:00
augustss f690fc0845 More DIAGNOSTIC. 2001-12-28 00:21:26 +00:00
augustss 3bf49b584d Add some more #defines. 2001-12-28 00:20:24 +00:00
shin ae12ee76a0 add #ifdef DEBUG around VCED_count etc. 2001-12-27 22:55:46 +00:00
nathanw 5dbef63175 Use PQUIRK_ONLYBIG for all Olympus cameras, not just the C-1.
Use PQUIRK_ONLYBIG for the PQI TravelFlash.
2001-12-27 18:57:46 +00:00
augustss 04ec4ba316 Add some DIAGNOSTIC stuf that I forgot. From Nate Williams. 2001-12-27 18:48:28 +00:00
augustss f8e03bd53c Change some DIAGNOSTIC #defines. 2001-12-27 18:43:46 +00:00
christos af7d3cdd3d use the new ci_info hook to print extra cpu information during probe. 2001-12-27 15:28:34 +00:00
christos e59d5895b1 add a new function to the cpu struct's that can be called to print extra
cpu information after initialization.
2001-12-27 15:24:34 +00:00
lukem 2ef0ad7192 set SHLIBDIR again; it may be needed in the future 2001-12-27 15:14:25 +00:00
itohy 74f17f2922 Analyzed structure of CMI8738/PCI-6ch-* mixer
for the benefit of those who edit the driver.

This is a Fig file.  Use Xfig to edit/view, use Transfig
package to convert to other graphic formats.
2001-12-27 14:20:30 +00:00
itohy f741672ddc Fix comment. 2001-12-27 14:17:04 +00:00
wiz 654780212e client, not clinet. 2001-12-27 13:22:01 +00:00
wiz ec03906847 Fix the typo reported in PR #15062 and another one. 2001-12-27 13:20:53 +00:00
lukem 6dc3c447e2 remove definition of SHLIBDIR as it is not needed here 2001-12-27 11:54:02 +00:00
lukem b34917ad5b use ${LIBDIR} instead of /usr/lib 2001-12-27 11:39:20 +00:00
augustss 0df9b7654d ANSIfy. 2001-12-27 11:28:01 +00:00
augustss d0f9a76506 Update a comment. 2001-12-27 11:27:11 +00:00
augustss 1f003f1c43 Name collection types. 2001-12-27 11:25:47 +00:00
augustss 81b818b421 Add usbd_get_protocol(). 2001-12-27 11:24:42 +00:00
augustss 12560718c5 Files I forgot to remove in last commit. 2001-12-27 11:23:56 +00:00
manu daf979dbeb Added symlink, rename and readlink 2001-12-27 11:07:23 +00:00
blymn 98f703ff1e Fix newterm so it syncs curscr to stdscr when term is created. Thanks
to Onno van der Linden for finding this bug.
2001-12-27 10:48:15 +00:00
dbj 1b65d8fd30 fix single stepping and continuing from breakpoints in ddb 2001-12-27 10:32:23 +00:00
dbj 2bea447d60 sync the instruction cache even when only writing 2 or 4 bytes 2001-12-27 10:25:41 +00:00
manu a965f74abe getpgid implemented 2001-12-27 09:31:09 +00:00
shin 606f00a905 split VCED and VCEI. 2001-12-27 04:19:17 +00:00
shin d00d2e4bcb simplify VCED processing.
just write back and invalidate secondary cache line and fetch data again.
2001-12-27 04:03:37 +00:00
ad 281fb6d209 In clalloc(), clear the quoted char bitmap (part of the ring buffer was
being cleared twice).
2001-12-27 02:27:50 +00:00
wiz 5514d0b117 bcopy/bcmp/bzero -> memcpy/memcmp/memset 2001-12-27 02:23:24 +00:00
fvdl d0f7c6fb96 Use softdep_change_linkcnt to note that the inode mode was set to 0.
From FreeBSD.
2001-12-27 01:48:38 +00:00
fvdl c9218f8686 The softdep code sometimes use vfs_vget .. vput. For removals, these
would result in a vop_inactive call for the vnode each time, resulting
in vinvalbuf->fsync. The original softdep code avoided the fsync
in vinvalbuf by not calling it if there were no dirty blocks. This
was changed in NetBSD. Also, flush_inodedeps was changed to mark
the inode as modified so that it would do an inode update and flush the
last one. This combination basically caused a sync write for each removed
file in an rm -rf (showing up delayed from the syncer a lot of the time).

If called from vinvalbuf (FSYNC_RECLAIM), and there were no dirty blocks
or pages to begin with, still do everything as normal, so that possible dirty
blocks in transit to disk are properly waited for, etc, but don't pass
UPDATE_WAIT to VOP_UPDATE, since there is no need for it in that case.
2001-12-27 01:44:59 +00:00
fvdl 2b5fe12a98 Pull over one missed fix from FreeBSD wrt. running out of quota. Also
reshuffle some code a bit to make it look more similar (no functional
change).
2001-12-27 01:29:05 +00:00
thorpej 1ab1192459 Makefile for x86_64 includes and boot blocks. 2001-12-27 00:43:25 +00:00
shin 1bac15cba5 we need ffs(). 2001-12-27 00:10:39 +00:00
shin 6870c1d462 don't use .abicalls in kernel. 2001-12-27 00:09:59 +00:00
shin e509d7712d copy from libc/arch/mips/string 2001-12-27 00:08:19 +00:00
manu 2faf78e180 Reworked irix_syssgi_mapelf. It now uses elf_load_psection, and this
remove the odd bug which caused INSANE_DEBUG_IRIX to be mandatory in
order to avoid a panic when mapping libraries.
2001-12-26 22:18:25 +00:00
thorpej 86a77080a5 Remove (incorrect) extern decl of emul_hpux. 2001-12-26 19:08:11 +00:00
thorpej 232c19df9d A statement must follow a label. 2001-12-26 19:00:31 +00:00
jwise c43fe21748 Remove list2plist. It has been supplanted by makeplist, which does the same
thing in a pkgset-aware fashion.
2001-12-26 18:46:18 +00:00
jwise 25f7c6aadf Add two utility scripts used by syspkg from draga.com CVS:
listpkgs -- a utility script for syspkg maintainers.  Given a pkgset name,
	    list all packages in that pkgset by parsing the src/distrib
	    set list files.  Imported at draga.com revision 1.2.

Usage: ./listpkgs [-a arch] [-m machine] [-s setsdir] [-p prefix] setname
        -a arch         set arch (e.g, m68k, mips, powerpc)
        -m machine      set machine (e.g, amiga, i386, macppc)
        -s setsdir      directory to find sets
        setname		set to list packages for

makeplist -- a script called by <bsd.syspkg.mk>.  Given a pkgset name
	     and a pkg name, output a valid PLIST for that package by
	     parsing the src/distrib set list files.  Imported at
	     draga.com revision 1.2.

Usage: ./makeplist [-a arch] [-m machine] [-s setsdir] [-p prefix] setname pkgname
        -a arch         set arch (e.g, m68k, mips, powerpc)
        -m machine      set machine (e.g, amiga, i386, macppc)
        -s setsdir      directory to find sets
        -p prefix       prefix for created plist
        setname pkgname set and package to build plist for
2001-12-26 18:43:00 +00:00