Commit Graph

151157 Commits

Author SHA1 Message Date
tsutsui
32a61d5e54 Make sun68k/stand build without installed ${DESTDIR} files.
Currently "machine" symlink points sys/arch/sun68k/include,
but this means some <machine/foo.h> files are taken from
sys/arch/sun68k/include but others (i.e. files not in sun68k/include)
are taken from ${DESTDIR}/usr/include/machine.

Instead, make "machine" symlink point sys/arch/${MACHINE}/include,
make "sun68k" symlink point sys/arch/sun68k/include (not sys/arch/sun68k),
add sys/arch to include path, and move some files where appropriate.
2006-09-17 06:15:40 +00:00
tsutsui
bcf7e18f6c Always set CFLAGS, CPUFLAGS, and COPTS explicitly like i386/stand
to override settings in /etc/mk.conf, so that build won't fail
in sun68k which contains both sun2 and sun3 sources.

Suggested by thorpej, and closes PR toolchain/34528.
2006-09-17 05:44:46 +00:00
elad
55e6bda6fa Fix some confusions; pointed out by wiz@, thanks! 2006-09-17 05:04:05 +00:00
tsutsui
3d402afffa Switch m68k ports to gcc4.
Tested on most m68k ports. Still there is no report of
atari, cesfic, luna68k, and mvme68k on real machines,
but at least builds for these ports should work.
2006-09-17 04:40:04 +00:00
gdamore
d87601b78b Remove unused todclock files -- these are left overs from pre-generic-TODR. 2006-09-17 04:11:55 +00:00
tsutsui
42f593a4d5 Reorganize macppc_installboot to make macppccd.iso image actually bootable
on (some) OpenFirmware 2.x machines.

Current macppccd.iso image doesn't boot on Openfirmware 2.x
(and probably 1.0.5) machines because it uses pre-compiled binary
which is based on old (and customized) bootxx.
It causes version mismatch against newer ofwboot whose load address
has been changed from 0x600000 to 0xe00000, as mentioned in the
following post:
http://mail-index.netbsd.org/port-macppc/2004/12/14/0020.html
There was also an raw binary which was passed to mkisofs as -boot-hfs-file.

To fix these issue, prepare a simple mkhfsboot program which creates
a boothfs file with the Apple partition map info for mkisofs,
and modify macppc_installboot to search the secondary ofwboot from isofs
and to put and modify the primary bootxx accordingly.
See PR toolchain/30245 for more details.

There are still some machines which don't boot from an iso image created
by this method (G3 machines with OF 2.0f1 etc.), but it's still better
than to keep ugly and obsolete hacks.

Ok'ed by macallan, and there is no other particular comment about this PR.
2006-09-17 03:56:03 +00:00
gdamore
aca43cd0dc Use MI todr framework. Untested, but considered extremely
low risk.
2006-09-17 03:38:36 +00:00
tsutsui
097bad5fd3 Remove trailing slash from RSYNC_INCLUDE and RSYNC_EXCLUDE pathes
so that rsync can get regular files.
2006-09-17 03:20:46 +00:00
gdamore
c36cf26a55 Convert pmppc TODR handling to "common" mc146818 framework, and add
__HAVE_GENERIC_TODR.  Compile tested only, as I have no idea how to track
down actual hardware, and the ports previous port master is no longer a
TNF member.
2006-09-17 02:45:53 +00:00
wiz
86f767cf74 Drop trailing whitespace. Fix a typo. 2006-09-17 01:02:30 +00:00
wiz
db984b12a6 Use macro for HTML output. 2006-09-17 00:57:01 +00:00
elad
8fd10e3884 Add an EXAMPLES section. 2006-09-16 21:41:59 +00:00
elad
c1ea404a01 crypto/sha1.h -> sha1.h 2006-09-16 21:26:02 +00:00
elad
bfb7ba0f7e Add veriexecgen(8), contributed by Matt Fleming. Thanks! 2006-09-16 21:22:18 +00:00
elad
066231b98f Reference veriexecgen(8). Bump date. 2006-09-16 21:07:36 +00:00
elad
efffcc37c4 Reference veriexecgen(8) instead of the old scripts. Bump date. 2006-09-16 21:06:13 +00:00
elad
5727e58f16 Obsolete old fingerprint generation scripts. 2006-09-16 21:03:11 +00:00
elad
ade08c91dc Add a C version of Veriexec's fingerprint generator, written by Matt
Fleming.

This one has some nice options -- for example, an admin can run right
after installing a system:

        fpgen -D

and it will fingerprint a set of "common" system directories to the
default loaction. See the man-page for more stuff.

Performance-wise, here are results for both fpgen.sh (old) and this
new tool:

	474.599u 574.335s 13:53.05 125.9%       0+0k 0+307io 0pf+0w

	0.424u 0.131s 0:00.56 98.2%     0+0k 0+2io 0pf+0w

...guess which is which? (that's ~1500 times *faster*)
2006-09-16 20:54:42 +00:00
hubertf
177426845d Adjust example to NetBSD's ifconfig.if(5) format: Apparently the manpage
was taken from OpenBSD, and their hostname.if(5) format is different from
that of ifconfig.if(5) on NetBSD.
Noted & patch sent by Nino Dehne <ndehne@gmail.com>
2006-09-16 20:24:27 +00:00
hubertf
8e46fd3f16 Fix typo, noted by Nino Dehne <ndehne@gmail.com> 2006-09-16 20:15:49 +00:00
mhitch
07b204f92f Sync with m68060 fix from amiga pmap.
Uvm changes over 17 months ago resulted in the 68040/060 segment table
page being entered with pmap_kenter(), which does not record the mapping
in the pv table.  Attempting to inhibit caching of that page as required
by the 68060 hardware no longer changes the PTE and caused varying degrees
of multiple faulting, sometimes resulting in an unusable system.  Apparently
very few people attempted to run a 68060 based system since that change.
Fix to to change the caching bits directly rather than using pmap_changebit().
2006-09-16 18:53:53 +00:00
mhitch
55fb5385d7 Common m68k pmap has same problem with 68060 after 17 month old uvm changes.
Tested and verified on my Amiga (yes, I'm hoping to switch amiga to using
the common pmp_motorola.c).

Uvm changes over 17 months ago resulted in the 68040/060 segment table
page being entered with pmap_kenter(), which does not record the mapping
in the pv table.  Attempting to inhibit caching of that page as required
by the 68060 hardware no longer changes the PTE and caused varying degrees
of multiple faulting, sometimes resulting in an unusable system.  Apparently
very few people attempted to run a 68060 based system since that change.
Fix to to change the caching bits directly rather than using pmap_changebit().
2006-09-16 17:31:13 +00:00
elad
3ea3b1e63e Scripts don't have to be *shell* scripts. 2006-09-16 17:17:23 +00:00
christos
6ec268c772 PR/30879: Jukka Salmi: syslogd(8) doesn't parse `@' hostname specification
correctly
2006-09-16 17:05:32 +00:00
christos
6051bcc73f PR/28753: Martin J. Laubach: syslogd disables remote logging on non-fatal errors 2006-09-16 16:57:27 +00:00
skrll
05f8bc59e4 Timecounters for hp700 from Garrett. Tested by me. 2006-09-16 15:43:24 +00:00
tsutsui
dfef23e0d0 Tweak status value in struct clockframe before calling mips3_clockintr()
so that spllowersoftclock(9) in hardclock(9) will be handled properly.
2006-09-16 13:31:44 +00:00
elad
b77c058061 We now have CARP, so don't skip IFT_CARP in link_print(). 2006-09-16 12:25:11 +00:00
yamt
f349782fa8 add workqueue_destroy. 2006-09-16 11:15:50 +00:00
yamt
14cd84c266 add workqueue_destroy(). 2006-09-16 11:15:00 +00:00
yamt
466a92def9 workqueue_create: use kmem_alloc rather than malloc. 2006-09-16 11:14:36 +00:00
gdamore
16a1b71a56 sgimips is now tc'd. 2006-09-16 09:10:06 +00:00
wiz
db06aa87ca Use macro for HTML output. 2006-09-16 08:54:22 +00:00
gdamore
5a87ca8ef8 sgimips converted to timecounters. Systems that can do them get mips_cp0
based logic.  We also use the common mips3_clock functions for those systems,
removing some port-specific code.

Tested by martin@.
2006-09-16 08:50:27 +00:00
yamt
c76c4d01d3 VOP_ADVLOCK: document the current unnatural handling of SEEK_CUR.
pointed by efnbl06 at bn2.maus.net.
2006-09-16 08:47:18 +00:00
elad
2c4556dbe4 Refer to the secmodel_{bsd44,overlay}(9) man-pages and the examples
directory.

Bump date.
2006-09-16 08:46:14 +00:00
nakayama
63ba7c8fe3 From OpenBSD:
- reload %fprs for checking it again.
- use symbolic names for checking in %fprs.

  revision 1.51
  date: 2005/07/18 14:50:11;  author: deraadt;  state: Exp;  lines: +2 -1
  cache a copy of the fprs so we know what fp restore we should do after

  revision 1.50
  date: 2005/07/14 01:46:13;  author: deraadt;  state: Exp;  lines: +4 -4
  use symbolic names for checking in %fprs, as above
2006-09-16 08:43:24 +00:00
tnozaki
138067b448 - rename KOI8-BASE more suitable name, GOST19768-74.
- fix wrong conversion table KOI7 and KOI7-switched.
2006-09-16 08:38:20 +00:00
elad
a416017103 Add a man-page for secmodel_overlay(9). 2006-09-16 08:37:33 +00:00
yamt
b1e75a8232 fix a typo pointed by efnbl06 at bn2.maus.net. 2006-09-16 08:29:08 +00:00
nakayama
ff1d071129 Fix a couple of %y register save/restore errors, inspired from OpenBSD.
revision 1.44
  date: 2004/04/23 04:18:17;  author: marc;  state: Exp;  lines: +5 -4

  fix a couple of %y register save/restore errors
  1) don't save %y in a register that is later used before restoring %y
  2) always restore %y after calling a signal handler
  tested by drahn@, OK pval
2006-09-16 08:29:06 +00:00
yamt
658b31f04b VOP_ADVLOCK: fix a description of vp. pointed by efnbl06 at bn2.maus.net. 2006-09-16 08:23:30 +00:00
yamt
8e991698b9 revert a change which was unintentionally slipped in via yamt-pdpolicy branch. 2006-09-16 07:14:38 +00:00
wiz
8d3165ac32 Sync usage with man page (-b). 2006-09-16 06:34:55 +00:00
manu
d542f7adc2 Fix build 2006-09-16 06:19:50 +00:00
manu
5a85c00571 Trivial bugfix in RFC2407 4.6.2 conformance, from Matthew Grooms 2006-09-16 04:31:38 +00:00
tsutsui
7af1255b2a Handle unwiring page cases properly in pmap_enter(9) and pmap_remove(9).
Previously sun3x pmap assumed that pmap_unwire(9) was the only interface
which should handle unwiring page, but nowadays apparently it isn't true.
Fixes a longstanding "panic: get_a_table: out of A tables"
(and also B, C tables) problem on my 3/80.

While here, make this compile with PMAP_DEBUG.
2006-09-16 03:35:50 +00:00
gdamore
7a220c54a7 hpcmips has been tc'd. 2006-09-16 02:17:18 +00:00
gdamore
05612f8b48 Convert hpcmips to TODR and timecounters. Ok jun@. 2006-09-16 02:14:56 +00:00
uwe
7756bb963d Set NOMAN so that running make locally completes successfully. 2006-09-16 00:57:49 +00:00