Commit Graph

21910 Commits

Author SHA1 Message Date
jtk 9869120050 add -o and -m options for owner/group and mode of the socket 1996-09-13 01:10:14 +00:00
thorpej fcde57a426 For ioctl commands which may change the device's state, ensure that
the caller has the device open for writing.
1996-09-13 00:35:59 +00:00
cgd 9118c05a03 RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
1996-09-13 00:29:49 +00:00
cgd 9867074973 remove this file, since it's not particularly useful since we've removed
most of the files it mentions, and it doesn't really describe the rest.
1996-09-13 00:23:43 +00:00
jtk 04f1e23fe1 BIOS trampoline is a static beast; generate it in the sources like
syscalls.h & friends, and include it when needed from the source directory.
1996-09-13 00:02:36 +00:00
cgd bd21bf3909 remove some more unused files. 1996-09-12 23:54:37 +00:00
mrg df4a844f44 forward decl. struct mbuf (for now). 1996-09-12 23:11:40 +00:00
explorer f5a52c4260 Move an #ifdef _KERNEL up above all the packet filter stuff. This
could very well break the packet filter stuff, but it will make things
like rcp.c compile, and rcp.c should not need to include sys/mbuf.h
to do so...
1996-09-12 22:56:03 +00:00
cgd 98a5e78a03 clean up 'make test' so that it works even in the presence of
'obj' dirs, and added minigzip to CLEANFILES.
1996-09-12 22:33:40 +00:00
cgd 5da64b50ae make it into a shared library, too. 1996-09-12 22:23:40 +00:00
cgd a2157537ee add libz 1996-09-12 22:21:21 +00:00
scottr e09160652b Sync with m68k/cpu.h changes. Also, test fpu_type instead of mmutype
when handling fp exceptions.
1996-09-12 21:25:31 +00:00
scottr d3beac22f0 Sync with m68k/cpu.h changes 1996-09-12 21:25:29 +00:00
scottr 027b51f1f9 Define spladb() (conservatively, at least for now). 1996-09-12 20:39:19 +00:00
gwr a42e3b4603 This is a minimal zcat for installation media. 1996-09-12 20:24:00 +00:00
gwr 7b1b031b12 We do not use these. 1996-09-12 20:10:50 +00:00
gwr e94c324095 Add a NO_DEFLATE conditional that allows this to be compiled without
reference to the "deflate" compression module.  This can be used to
build a very small zcat for things like install media.  (An example
of such a small zcat may be found in src/distrib/utils/zcat).
1996-09-12 19:50:28 +00:00
gwr 03e6c4e30f We do not use these. 1996-09-12 19:40:30 +00:00
gwr de831ea222 Separate interface from implementation so that zlib.h can be
included without the other, private header files.  Only zlib.h
should be installed in /usr/include; all others are private.
The Makefile has a "test" rule to verify that minigzip.c can
be compiled using only zlib.h (and that it actually works).
Note: This file has extensive modifications.
1996-09-12 19:33:53 +00:00
gwr 4222075279 Eliminate use of things private to the library. 1996-09-12 19:26:44 +00:00
gwr ad91ec121b Fix a "const discarded" warning. 1996-09-12 19:09:00 +00:00
gwr 62a507468c We do not use these. 1996-09-12 19:03:45 +00:00
thorpej 9476dabc1a Correct a somewhat confusing typo in a comment, pointed out by
Scott Reynolds.
1996-09-12 18:54:23 +00:00
cgd cccb7a88b4 Reimplement in C, adding ELF support. if compiled with -DECOFF_COMPAT
(currently the default), then it compiles on both an ECOFF toolchain
and on an ELF toolchain (but w/o support for dynamic linking or C++
constructors & destructors).  If compiled without -DECOFF_COMPAT, it
supports statically- or dynamically-linked ELF binaries (and shared
libraries).
1996-09-12 16:59:01 +00:00
gwr 431817b1aa Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
1996-09-12 15:33:09 +00:00
thorpej 5d570ded25 Update for the new way machine/cpu support is option'd in. 1996-09-12 07:36:37 +00:00
thorpej feb8b586ed Do the extern song and dance. 1996-09-12 06:14:04 +00:00
thorpej 927facbf09 Add some constants now needed by locore. 1996-09-12 06:05:42 +00:00
thorpej a1bffadb58 - Add hooks (just empty shells for now) for MVME-{162,167,177} models.
- Use information obtained from the Bug in locore to make identifycpu()
  produce some slightly more meaningful output.

- Garbage-collect some left-over hp300-specific stuff.
1996-09-12 06:02:35 +00:00
thorpej 6d0345fdb7 - Save the boot device info a little earlier in initializaion.
- Use the Bug to find out what kind of machine we're running on, and
  Do The Right Thing, namely:

	- Set `cputype' and `mmutype' as appropriate.

	- Crap out if the kernel doesn't support the machine we
	  booted on.

- Add hooks for MVME-{162,167,177} models; just an empty shell to be
  filled in later.

- Use `MMU_68040' rather than `-2' when checking the MMU type.
1996-09-12 05:57:43 +00:00
thorpej 917ef1b1be Grok machineid. 1996-09-12 05:48:54 +00:00
scottr d407764c72 Add uk, remove ch device 1996-09-12 05:34:59 +00:00
scottr 7a6fae71e8 Add ss, uk SCSI devices 1996-09-12 05:33:41 +00:00
thorpej 399b0e0f68 - Use MVME "machine options" to associate MVME models with CPU
options (a'la the hp300 port).
- Declare a "machineid" extern.
- Define constants for machineid, which match the Bug's idea
  of MVME model numbers.
1996-09-12 05:26:37 +00:00
thorpej 583912cbcf Grab the stat clock stuff from the SPARC port, and glue it to the
second timer on the PCC.
1996-09-12 05:10:44 +00:00
thorpej de02bf68b3 Update to use the new badaddr(); simplifies the code that attaches
pcc children somewhat.
1996-09-12 05:04:18 +00:00
thorpej 054bd4e4d0 Prototype badaddr(). 1996-09-12 05:01:47 +00:00
thorpej ca8ebd2ae7 Change badaddr() to take the size of the access to do, and nuke
badbaddr().
1996-09-12 04:59:56 +00:00
thorpej 2a57ba6633 Correct a comment, and add timer priming macros. 1996-09-12 04:54:19 +00:00
scottr a453e56ffd This is the development/debug machine 1996-09-12 04:50:43 +00:00
scottr 7b33c93009 Update to current reality. 1996-09-12 04:49:52 +00:00
thorpej 22adc20819 Add an FPU_UNKNOWN constant; just a placeholder for any unknown FPU. 1996-09-12 02:52:34 +00:00
thorpej 2b525e4952 Sync boot() with the hp300 version (basically, clean up a bit and
run shutdown hooks).
1996-09-12 02:45:57 +00:00
thorpej 9aeee9fb17 Remove a couple of opcodes that are already (and more appropriately)
defined in scsi_changer.h
1996-09-12 01:57:17 +00:00
mrg c98a14ad90 update these for poll(2) changes. 1996-09-12 01:35:34 +00:00
thorpej be969d881e Update for poll(2) changes. 1996-09-12 01:22:58 +00:00
explorer 4f6bc4307e fix two security holes; recently posted to freebsd-bugs 1996-09-11 23:53:38 +00:00
christos 74d9e3de3f Document -p (preen) option. If there are no filesystems specified on the
command line, get them from /etc/fstab when we are preening.
1996-09-11 20:35:14 +00:00
christos 2842b1a353 Fix gcc warnings. 1996-09-11 20:31:24 +00:00
christos 80411b3382 New version of filesystem independent fsck(8) program similar to mount(8). 1996-09-11 20:27:11 +00:00