Commit Graph

25075 Commits

Author SHA1 Message Date
mark
2d1d9a0dcb Include <machine/cpufunc.h> for cpu specific prototypes e.g. tlbflush(). 1997-01-26 01:34:45 +00:00
mark
b2abc423cd Create a separate header file with the prototypes for the functions that
manipulate the cpu and mmu registers.
1997-01-26 01:31:20 +00:00
mark
0449845fb5 Declare the arguments to the function pointers in the interrupt
handler structures.
1997-01-26 01:30:51 +00:00
mark
bf4360262c __P(()) -> __P((void)) on several prototypes to fix some gcc warnings. 1997-01-26 01:25:42 +00:00
scottr
db2c833016 Add LKM, ipfilter 1997-01-25 22:44:08 +00:00
scottr
818ebb4e22 Add `options LKM' 1997-01-25 22:41:40 +00:00
scottr
017d77a9f9 ::\' => :\' ; per recent sys/lib/*/Makefile.inc changes. 1997-01-25 22:39:32 +00:00
gwr
f8d1223fa5 Remove a redundant check of the fault address. 1997-01-25 21:51:11 +00:00
gwr
b805b73cbe Use sunmon_abort() instead of mon_panic(). 1997-01-25 21:47:44 +00:00
gwr
b224329ecd Just return if clock_va is not set.
Use <sun3/sun3/sunmon.h> for abort.
1997-01-25 21:46:19 +00:00
mhitch
447adb9b1c Get rid of unused file: KDASSERT() is now defined in libkern.h. 1997-01-25 16:53:50 +00:00
cgd
981d496969 Change file system file-open semantics slightly: if file system returns
EINVAL, that error code is ignored, leaving whatever other meaningful
error code that might have previously been returned intact.  Stand-alone
file system implementations return EINVAL typically when the file system
is not recognized (i.e. cd9660_open on a UFS file system, ufs_open on a
cd9660 file system, etc.).  This meant that if you had multiple file
systems in a file system switch, the first returned ENOENT (because
it recognized the file system type, but the file wasn't there) and
the second returned EINVAL (because it didn't recognize the file system
type), errno would be set to EINVAL.  Now it'll be set to ENOENT.

It would probably make sense to have file systems return a special
error code to indicate "this file system is unrecognized," which
could then be special-cased, but that's a fair bit more invasive.
1997-01-25 01:13:41 +00:00
cgd
00c2c62911 use strerror() to print errors, rather than just printing error numbers 1997-01-25 01:06:30 +00:00
cgd
da4932bff2 add EINVAL and ENOTDIR, as suggested by Matthias Drochner 1997-01-25 00:37:50 +00:00
perry
b195ec73d5 nuke the BUGS section -- it was vax specific 1997-01-25 00:17:00 +00:00
thorpej
1392015f6b These files are obsolete (ramdisk -> md). 1997-01-25 00:10:36 +00:00
christos
1a33eecdca const poisoning 1997-01-24 22:13:10 +00:00
christos
2fe3b9727a - increase string space for device class names
- fix the parser so that non-compliant isapnp devices work, and we
  give up when there are too many errors (some on-board pnp sound/atapi/game
  soundblaster compatible card).  reported by chuck cranor
- fix the parser so that configuration tags that come after the
  end-dependencies tag or before the begin-dependencies tag are merged
  in properly (gravis ultrasound). reported by gary duzan
  We now build a tree of card -> logical-dev -> conf, and in the end we
  convert it to a list of conf...
1997-01-24 21:58:34 +00:00
perry
ca876d2670 remove nsswitch.conf.5 -- not in tree (yet) 1997-01-24 21:27:33 +00:00
veego
ff217ba6d9 Decrease the delay() in isapnp_wait_status(), 100 was too much. 1997-01-24 21:17:19 +00:00
chuck
16ef494b41 bug fix:
- if aal5 frame has a CRC error then the length field in the aal5 trailer
	may not be valid, so we can not use it [and we must dump the frame]
	[Yuhang Sun <sunyh@dworkin.wustl.edu> & chuck@ccrc.wustl.edu]
1997-01-24 20:58:42 +00:00
cgd
3d6d074161 make isonum_* functions 'static __inline' rather than 'extern __inline' 1997-01-24 18:31:47 +00:00
perry
61974fdce1 remove obsolete -d and -t options -- kernel timezone handling is long gone 1997-01-24 18:17:17 +00:00
christos
633ceb6db5 - varisset(): In positional arguments, take into account VSNUL so that:
set -- ""; echo ${1:-wwww} works.
- when expanding arithmetic, discard previous ifs recorded regions, since we
  are doing our own scanning. x=ab; echo $((${#x}+1)) now works.
- in ${var#word} fix two bugs:
   * if there was an exact match, there was an off-by-one bug in the
     comparison of the words. x=abcd; echo ${x#abcd}
   * if there was no match, the stack region was not adjusted and the rest
     of the word was getting written in the wrong place. x=123; echo ${x#abc}X
1997-01-24 17:26:28 +00:00
christos
3d5f212ba8 enable parsing of multi-digit positional arguments i.e. ${10} works and it
is not a bad substitution.
1997-01-24 17:15:56 +00:00
cgd
e48fd73808 astpending and want_resched are kernel-only 1997-01-24 06:38:37 +00:00
cjs
729dbf416c sendmail 8.8.5 merge 1997-01-24 04:01:18 +00:00
cjs
df679e9b88 sendmail 8.8.5 1997-01-24 02:19:57 +00:00
cgd
de97b4a289 stdlib.h for malloc() prototype 1997-01-24 02:16:22 +00:00
cjs
27e0e2605f sendmail 8.8.5 1997-01-24 01:53:10 +00:00
cgd
21ad990583 reorganize Alpha boot block sources: put common sources in a 'common'
directory (so they don't clutter up the arch/alpha/stand), and put
not-common sources in programs' directories.
1997-01-24 01:52:35 +00:00
cgd
ce93ba490a kill unnecessary newline 1997-01-24 01:46:46 +00:00
pk
4364fc8f2c Adapt to sys/lib/lib{sa,kern}/Makefile.inc changes 1997-01-24 01:18:22 +00:00
pk
0a5eeae37c ::' => :' ; per recent sys/lib/*/Makefile.inc changes. 1997-01-24 00:58:20 +00:00
cgd
192e22f5b7 isonum_722 and isonum_732 are now back in iso.h 1997-01-24 00:53:40 +00:00
cgd
40a9eb327d fix typo 1997-01-24 00:46:49 +00:00
cgd
8e5fecbb35 add back isonum_7{21,22,31,32} functions. If we're going to define some of
these, we should define all, because there might be code elsewhere
that needs them (in this case, libsa).  Add comments that describe the
data types that the isonum_* functions access.
1997-01-24 00:44:40 +00:00
cgd
6f0de181b1 update for iso.h changes which remove the need for the nastiness that was here 1997-01-24 00:29:19 +00:00
cgd
9586277088 update for iso.h/cd9660_extern.h header changes 1997-01-24 00:27:29 +00:00
cgd
18ed614151 split iso.h into two parts: iso.h (which now contains _only_ definitions
about ISO9660 file system structure), and cd9660_extern.h (which now
contains the definitions and data structures used by the kernel).
There's lots of other stuff scattered around this code that should go
into cd9660_extern.h, but doesn't need to right now.  This changed patterned
on ffs, which has 'fs.h' which describes the FS structure, and ffs_extern.h
for kernel-internals gunk.  Now libsa can include iso.h without the nasty
hack that was there before.

Also, clean up the isonum_* definitions so that the #ifdefs aren't
impossibly spread apart.  (Now the #ifdefs are _in_ the functions.  This
leads to #ifdefs that are only a few lines long, rather than a few _pages_
long, as well as a reduction of duplication of function headers, etc.)
Note that isonum_7{21,22,31,32} are currently missing.
1997-01-24 00:26:31 +00:00
cgd
c6b52a9608 split iso.h into two parts: iso.h (which now contains _only_ definitions
about ISO9660 file system structure), and cd9660_extern.h (which now
contains the definitions and data structures used by the kernel).
There's lots of other stuff scattered around this code that should go
into cd9660_extern.h, but doesn't need to right now.  This changed patterned
on ffs, which has 'fs.h' which describes the FS structure, and ffs_extern.h
for kernel-internals gunk.  Now libsa can include iso.h without the nasty
hack that was there before.
1997-01-24 00:24:53 +00:00
gwr
8d9bb0e996 Use <machine/machdep.h> 1997-01-24 00:09:34 +00:00
gwr
f13a8dfcb5 Use <sun3/sun3/sunmon.h> 1997-01-23 23:58:05 +00:00
gwr
a4a29b13a7 Use <machine/machdep.h> 1997-01-23 23:54:26 +00:00
cgd
ac467d58e8 Set LOADADDRESS makeoption so that these kernels can be net-booted.
This is a waste of memory, but is useful in GENERIC kernels.
1997-01-23 23:21:40 +00:00
cgd
1fca013b1e add support for reading gzipped kernels. 1997-01-23 23:10:34 +00:00
cgd
8afda473db update for new kernel library Makefile.inc expectations 1997-01-23 23:07:56 +00:00
cgd
78d5e815bf clean up substantially. Transform clean, depend, cleandir targets from ::
to :, so they can be used e.g. with <bsd.prog.mk>.  Standardize variable
names used to configure kernel libraries.

Variables used by these Makefile.inc's are:

S               must be set to the top of the 'sys' tree.
${LIB}DST       may be set to the location of the directory where library
                objects are to be built.  Defaults to ${.OBJDIR}/lib/${lib}.
${LIB}_AS       may be set to 'obj' to build a object from the library's
                object files.  (Otherwise, a library will be built.)
                Defaults to 'library'.
${LIB}MISCMAKEFLAGS
                Miscellaneous flags to be passed to the library's Makefile when
                building.  See library's Makefile for more details about
                supported flags and their default values.

(where LIB is COMPAT, and lib is compat, in this case.)
1997-01-23 22:58:26 +00:00
gwr
5f36c62a33 Moved to ../include so we can refer to it as <machine/machdep.h> 1997-01-23 22:55:22 +00:00
gwr
57d849b787 Use <machine/machdep.h> and <sun3/sun3/sunmon.h>
Pull in some updates from the hp300 version.
Use _pmap_fault in place of vm_fault so that this
file can be shared with the sun3 (but not yet).
1997-01-23 22:52:46 +00:00