Commit Graph

114090 Commits

Author SHA1 Message Date
martin
3088b1239b Improve diagnostics a bit, log to syslog. 2003-06-23 21:50:12 +00:00
christos
9d352b5c2c PR/21936: Todd Vierling: ioctl 'r' misinterpreted 2003-06-23 21:37:27 +00:00
christos
40e148ef6b PR/21948: Todd Vierling: Implement MAP_TRYFIXED for linux emulation. 2003-06-23 21:32:33 +00:00
christos
c9a5d7edc1 Regen. 2003-06-23 21:26:30 +00:00
christos
35637451db PR/21937: Todd Vierling: Proper support for mmap2 2003-06-23 21:25:56 +00:00
augustss
7cdd37a934 Another quirk from Urban Boquist. 2003-06-23 21:11:29 +00:00
aymeric
8fe6b1b1db call platform.softintr_init() only if it is non-NULL.
This allows NetBSD/ofppc to boot up to userland (i.e. to the point where init
will not launch properly) under psim.
2003-06-23 20:14:33 +00:00
aymeric
23cacb54a0 s/PHYS_TO_PCI_MEM/PHYS_TO_BUS_MEM/
s/PCI_MEM_TO_PHYS/BUS_MEM_TO_PHYS/
to match generic PPC code

Noticed by Nicolas Ollinger
2003-06-23 20:12:19 +00:00
aymeric
9bdcb47acd add missing #ifdef __RCSID
(these files are compiled as host tools)
from Nicolas Ollinger, fixes PR#21892
2003-06-23 20:02:53 +00:00
uwe
b92f152573 First bits of SH3 support. Only _context_u.S is implemented (passess
cu[1-6] tests), the pthread_switch.S is stubbed out for now.

Code posted by Christian Groessler (cpg at aladdin dot de) to port-sh3.
2003-06-23 19:34:43 +00:00
erh
2f3650202c Add copyright+license. 2003-06-23 17:29:25 +00:00
tacha
7a3ec6c576 Call tgetent only when TERM environment is set. 2003-06-23 16:46:57 +00:00
pk
dc05fd9fd2 sun4/sun4c: move/add write_user_windows() at the top of pmap_[k]remove() and
pmap_[k]enter().
2003-06-23 15:45:08 +00:00
martin
864f19482a #ifdef _KERNEL_OPT police 2003-06-23 14:59:21 +00:00
martin
cd7023a3eb Backout previous, this file is not affected by kernel options. 2003-06-23 14:48:37 +00:00
christos
d695477b73 PR/21963: MAEKAWA Masahide: Don't free(dirp) before its last use. 2003-06-23 14:35:38 +00:00
martin
34718fb25a Protect opt_*.h include by _KERNEL_OPT 2003-06-23 14:17:24 +00:00
martin
1f875208a7 Protect opt_*.h includes by _KERNEL_OPT 2003-06-23 13:58:06 +00:00
pk
74806170e3 According to my calculations, the cross-over point for the amount of work
needed to flush an entire segment from the sun4/sun4c caches is at 16 pages.
2003-06-23 13:43:20 +00:00
pk
dc6eeb9b47 Use pre-computed `# of cache lines' where appropriate. 2003-06-23 13:34:28 +00:00
grant
d884498b98 no need for HAVE_LCHOWN and HAVE_LCHMOD anymore. 2003-06-23 13:33:15 +00:00
christos
051ff2c46c Simplify the way we deal with old argument style. Old way was broken when
tar cf - -T dir
2003-06-23 13:15:15 +00:00
jdolecek
7942f6611a add __KERNEL_RCSID() 2003-06-23 13:14:49 +00:00
christos
6ebfa08f43 spelling 2003-06-23 13:14:43 +00:00
thorpej
49b91b6679 Adapt to the Scheduler Activations changes.
Boots to multi-user when compiled with GCC 3.3 (20021123) (pre-3.3 release),
boots to single-user but hangs going multi-user when compiled with 3.4
(20030623).  This is most likely a compiler problem.
2003-06-23 13:06:54 +00:00
grant
9432809ee1 consistently use "cannot" instead of "can not". 2003-06-23 13:06:53 +00:00
agc
a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
thorpej
93b30f2130 Add <machine/elf_machdep.h>. 2003-06-23 13:00:21 +00:00
thorpej
5fb00ee32f Basic ELF definitions for ns32k. No relocations yet. 2003-06-23 12:59:27 +00:00
martin
4858ba3d93 Protect kernel opt_*.h include by #ifdef _KERNEL_OPT 2003-06-23 12:56:07 +00:00
agc
c0db2196e7 Add NetBSD RCS Ids. 2003-06-23 12:15:00 +00:00
martin
79b00c490a Disable QUOTA for ntfs - it's broken. 2003-06-23 11:53:47 +00:00
agc
c2a3b5ec84 Add NetBSD RCS Ids. 2003-06-23 11:53:35 +00:00
agc
6377cac711 Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
agc
d1c3d8e4e7 Add comments and descriptions for the following system packages:
base-magic-share
	base-ppp-lkm
	base-rescue-root
	base-termcap-share
	base-vfs-lkm
	comp-c-shlib
	comp-fortran-shlib
2003-06-23 11:19:44 +00:00
martin
d505b18964 Make sure to include opt_foo.h if a defflag option FOO is used. 2003-06-23 11:00:59 +00:00
uwe
439470c9f0 Registers _REG_Ri defines are numbered backwards, so when we fill
r4-r7 with arguments, use the correct *minus* i to compute the i-th
register index.
2003-06-23 10:45:20 +00:00
dyoung
fe803a4b84 Split base-reference-share into base-magic-share (containing magic
files for file(1)), base-termcap-share (containing terminal
capabilities), and base-reference-share (containing area codes,
airports, et cetera).
2003-06-23 09:28:52 +00:00
dyoung
b8eacf60d4 Optimization: invoke make fewer times.
Fix typo: osreleasese -> osreleases.

Write @pkgdep directives, drawing package dependencies from
distrib/sets/deps.

When regpkg is finished, now it removes the packing list temporary
file from /tmp.
2003-06-23 09:25:34 +00:00
dyoung
4b48743aa1 Stop duplication of makeflist, regpkg, makeplist code. Use routine
in sets.subr, instead.
2003-06-23 09:20:55 +00:00
dyoung
2a44e65d9c Don't duplicate code for listing sets used by makeplist, regpkg.
Instead, use the routine in sets.subr.
2003-06-23 09:18:45 +00:00
dyoung
48171b2e00 Fix typo: osreleasese -> osreleases.
Optimizations: do not re-invoke make(1) unnecessarily, it takes a
full second to bootstrap it on my on my anemic PC. Also, use
xargs/find instead of awk/system()/shell to classify each package
path as a file or directory.

For consistency, adopt similar variables names as makeflist uses.

Use the set-list routines in sets.subr instead of duplicating code.
2003-06-23 09:17:04 +00:00
chris
93632a0574 Fix for port-arm/21962. Rather than fixing the #ifndef spl0, I removed
the test as spl0 is actually a macro for splx(0). The code now calls
splx(0)

(note building with the #ifdef fixed, caused the build to fail on a
GENERIC acorn32 kernel.)
2003-06-23 09:05:22 +00:00
dyoung
4d23e6d82c For System Packages, two new utilities, a subroutine library, and
a new list:

sets.subr -- The set-listing code that is common to makeplist,
	     makeflist, and regpkg has moved here.

syspkgdeps -- Compute naive dependencies for system packages based
	      on directory containment. I.e., if package A contains
	      path /p/q, and package B contains path /p, then B is
	      considered a dependency of A. As Jim Wise remarks,
	      this is not quite right: system-package dependencies
	      should indicate a functional dependency. Nevertheless,
	      these naive dependencies protect us from orphaning
	      files when pkg_delete'ing system packages.

culldeps -- Helper for syspkgdeps. Removes redundant dependencies
	    from a dependencies table.  Essentially does the opposite
	    of a transitive closure on a dependencies table: if
	    the table contains A depends-on B, B depends-on C, and
	    A depends-on C, then A depends-on C is removed because
	    it can be derived from the prior two dependencies.

deps -- Dependencies computed by syspkgdeps.
2003-06-23 09:02:31 +00:00
simonb
c888cf2bde Removed "extended precision" definitions left over from when this was
originally copied from i386/include/ieee.h.

Fixes PR port-pc532/21960 from Jason Thorpe.
2003-06-23 06:59:12 +00:00
jdc
c81dad62ca Add curses keyname, noqiflush and qiflush manual pages. 2003-06-20 07:06:48 +00:00
jdc
094b2f993c Increment libcurses minor to 9 for addition of keyname(), noqiflush()
and qiflush().
2003-06-20 07:05:39 +00:00
jdc
11f267a000 Add noqiflush() and qiflush()
Fixes PR lib/20037.
2003-06-20 06:58:53 +00:00
jdc
c521d02fce Add keyname().
Fixes PR lib/20033.
Allow SMALL to be defined, to reduce the size of the library.
2003-06-20 06:56:29 +00:00
christos
5879a5dcf6 PR/21936: Todd Vierling: compat/linux: ioctl 'r' misinterpreted 2003-06-20 03:54:35 +00:00