Commit Graph

77044 Commits

Author SHA1 Message Date
lukem 735e1dcaa8 convert to ANSI KNF 2001-02-26 20:43:25 +00:00
fvdl 418264a670 Some bugfixes from rev 1.33 and 1.34 of this file in FreeBSD (some
in effect cosmetic). Original FreeBSD commit messages:

==
date: 2000/03/15 07:18:15;  author: mckusick;  state: Exp;  lines: +4 -4
Bug fixes for currently harmless bugs that could rise to bite
the unwary if the code were called in slightly different ways.

[...]

2) In ufs_lookup() there is an off-by-one error in the test that checks
if dp->i_diroff is outside the range of the the current directory size.
This is completely harmless, since the following while-loop condition
'dp->i_offset < endsearch' is never met, so the code immediately
does a second pass starting at dp->i_offset = 0.

3) Again in ufs_lookup(), the condition in a sanity check is wrong
for directories that are longer than one block. This bug means that
the sanity check is only effective for small directories.

Submitted by:   Ian Dowse <iedowse@maths.tcd.ie>

==

date: 2000/03/09 18:54:59;  author: dillon;  state: Exp;  lines: +2 -2
branches:  1.33.2;
    In the 'found' case for ufs_lookup() the underlying bp's data was
    being accessed after the bp had been releaed.  A simple move of the
    brelse() solves the problem.

Approved by: jkh
Submitted by:  Ian Dowse <iedowse@maths.tcd.ie>

==
2001-02-26 20:25:11 +00:00
lukem 7fee352603 convert to ANSI KNF 2001-02-26 20:24:30 +00:00
lukem 5694890732 convert to ANSI KNF 2001-02-26 18:09:20 +00:00
lukem 8aaa117469 remove `ingres' user & group; we have never shipped with ingres in the
base distribution, and packages that need a specific user & group can
create it.
2001-02-26 17:25:28 +00:00
lukem ae86fc2df2 some KNF 2001-02-26 17:12:08 +00:00
bjh21 f983a837ed Add multiple-include protection, and include <machine/cpus.h> here (where
it was actually needed).
2001-02-26 16:40:00 +00:00
lukem 7c6fe71392 convert to ANSI KNF 2001-02-26 16:35:41 +00:00
bjh21 6584a7e79d This file doesn't need <machine/cpus.h>. 2001-02-26 16:33:10 +00:00
abs ef51389957 Update the pleasemountroot message to indicate which root needs to be
mounted, and what needs to be done.
2001-02-26 16:32:53 +00:00
lukem 799d6eb9da convert to ANSI KNF 2001-02-26 16:24:02 +00:00
is 9af33798b8 pack the structure to avoid aligning contraint problems with ELF compiler 2001-02-26 16:07:58 +00:00
is 19d69802f3 fix comment 2001-02-26 16:07:19 +00:00
bjh21 5a5316cafe Nothing in this file needs <sys/param.h>, so stop including it. 2001-02-26 16:04:22 +00:00
bjh21 d666817eff Remove unnecessary #include <machine/cpus.h>. 2001-02-26 15:59:54 +00:00
is 025d7c7815 use ENTRY_NOPROFILE and _C_LABEL, where appropriate. 2001-02-26 14:58:36 +00:00
briggs a3ee43a4e6 Remove dump stuff that is now in powerpc_machdep. 2001-02-26 14:55:05 +00:00
bjh21 51a131dac3 The cpu_local and cpu_cd elements of struct _cpu were utterly unused. Remove
them.
2001-02-26 14:52:11 +00:00
bjh21 2ff5d800ab Fix up indentation, and remove a spurious set of braces. Should be no
semantic change from the last revision.
2001-02-26 14:01:58 +00:00
bjh21 03737e3e40 fpe-sp, and the associated "options FPE", was deleted in 1997. G/C references
to it.
2001-02-26 13:45:07 +00:00
bjh21 66094acb2a opt_cputypes.h is now provided by files.arm. 2001-02-26 13:26:14 +00:00
wiz 8d35854b5d Fix command name in error message for 'sh nonexistingfile'. 2001-02-26 13:06:43 +00:00
joda 7c1106ddf8 when changing to an unsupported media type, return EINVAL instead of
ENXIO
2001-02-26 09:42:00 +00:00
sato 42127a3ffd register vrc4172pwm driver for MC/R530 etc.. 2001-02-26 09:34:22 +00:00
sato fb03c1ad33 DPRINTF/VPRINTF change. 2001-02-26 09:33:03 +00:00
msaitoh bba3f2423b add comment about $CPP
From source:

# XXX following definition is absolutely incorrect.
# Our cpp is not /usr/libexec/cpp but /usr/bin/cpp.
# True solution is:
#	1) copy /usr/bin/cpp into /usr/local/bin/sh-*-*-cpp
#	2) Edit CPP in sh-*-*-cpp correctly
#		(e.g. "CPP=`$CC -print-prog-name=cpp`").
#	3) Edit STDINCDIR in sh-*-*-cpp correctly
#		(e.g. STDINCDIR=/usr/local/sh-unknown-netbsdcoff/include)

# BROKEN
CPP=`$TARGET-gcc -print-prog-name=cpp`

# EXAMPLE
#CPP=/usr/local/bin/sh-unknown-netbsdcoff-cpp
#CPP=/usr/local/bin/sh-unknown-netbsdelf-cpp
2001-02-26 08:46:15 +00:00
msaitoh 6c4c53a461 add "MACHINE_CPU=sh3" 2001-02-26 08:24:20 +00:00
msaitoh fdaaa66a9e centralize the defintion of the standard include file directory 2001-02-26 08:12:21 +00:00
itojun 233e3963ed make sure to validate packet against ipsec policy. 2001-02-26 07:20:44 +00:00
matt 416614582a More fill-in 2001-02-26 03:09:23 +00:00
matt fff9126df5 Add some of the common files. 2001-02-26 02:57:48 +00:00
matt ff7aabff92 Begin to flesh out the DNARD (aka Shark) port. 2001-02-26 02:49:24 +00:00
matt 0da665182e Add pckbc attachment so we can get wscons on the dnard. 2001-02-26 02:39:30 +00:00
chs c6798f2107 add vers.c to CLEANFILES. 2001-02-26 01:42:51 +00:00
blymn 7bedd38e80 Fixed include file naming should be menu.h not menus.h. 2001-02-26 01:26:05 +00:00
blymn 5aa18180e9 Add current field error code. 2001-02-26 01:21:06 +00:00
bjh21 09f63bd785 Now that arm26 does __HAVE_MINIMAL_EMUL, switch it over to using
<arm/types.h>.
2001-02-26 00:19:57 +00:00
reinoud 0c5bccd315 Moved the param.h files into the arm32 and hpcarm directories back again 2001-02-26 00:14:59 +00:00
reinoud bb5b27eed9 Putting the param.h back into the arm32 resp. hpcarm include directories 2001-02-26 00:08:41 +00:00
reinoud 7127877cf8 Putting param.h back into hpcarm's include 2001-02-26 00:07:54 +00:00
reinoud 9f68c8b2b1 Putting param.h back to arm32 include directory 2001-02-26 00:06:45 +00:00
lukem 614a276987 add named pseudo-user & group 2001-02-26 00:03:15 +00:00
reinoud e4e4d358a0 Fixed IOMD remapping during boottime 2001-02-25 23:59:48 +00:00
bjh21 e56f5ba174 __HAVE_MINIMAL_EMUL 2001-02-25 23:08:33 +00:00
bjh21 9d22bf6fdf Adapt for __HAVE_MINIMAL_EMUL world. 2001-02-25 23:07:51 +00:00
bjh21 3fb058011a Move arm32 ports over to using <arm/armreg.h>, so <cpu.h> mostly contains
NetBSD-specific definitions.

This also entails some changes to the way CPU identification is done.  I hope
I've got it right.
2001-02-25 21:31:13 +00:00
is 9b2152236c error code formatting 2001-02-25 20:41:43 +00:00
is 22bb5ac981 Note that the ados fs is read-only, and that mount_ados falls back to
read-only mounts now.
2001-02-25 20:37:15 +00:00
matt af212d3fda Use common switch / setfault / trampoline code. (except amigappc because
it doesn't use trap_subr.S either).
2001-02-25 20:34:24 +00:00
matt cd7c0ee5c4 Get the ofppc/prep/macppc/sandpoint/bebox to share the process switch
/ setfault / fork_trampoline code.
2001-02-25 20:21:53 +00:00