Commit Graph

92 Commits

Author SHA1 Message Date
cgd e7af2a8237 * catch up with system call argument type fixups/const poisoning.
* Fix arguments to various copyin()/copyout() invocations, to avoid
  gratuitous casts.
* Some KNF formatting fixes
1996-12-22 10:21:06 +00:00
thorpej f02e8b3cf0 Make NFSSERVER work without NFSCLIENT. This is achieved by splitting
the client and server/shared data initialization into separate functions,
and calling the server/shared initialization directly from main().
Problem noted in PR #1308 (Kenneth Stailey) and PR #1780 (Chris Demetriou).
Fix suggested in PR #1780 by Chris Demetriou, and munged a bit by me,
and OK'd by Frank van der Linden <fvdl@netbsd.org>.
1996-12-03 00:22:43 +00:00
christos f443b89c92 backout previous kprintf change 1996-10-13 02:32:29 +00:00
christos 60d201973e printf -> kprintf, sprintf -> ksprintf 1996-10-10 22:46:11 +00:00
thorpej 4a23efc7bc Fix botch in netbsd-1-2 merge (multiple inclusion of <sys/tty.h>),
pointed out by Jonathan Stone <jonathan@DSG.Standford.EDU>.
1996-10-10 00:27:41 +00:00
thorpej f2e79979ad Merge the netbsd-1-2 branch back into the mainline. 1996-10-09 00:59:15 +00:00
scottr d2be4a69c2 Expand tab in copyright message; it loses on some consoles. 1996-10-05 06:32:43 +00:00
mrg ade39d6cb2 call tty_init(). 1996-05-29 19:10:16 +00:00
christos 4ef330b934 remove include of <sys/cpu.h> 1996-04-22 01:38:12 +00:00
cgd e3c70ced5f call config_init() before autoconfiguration, to initialize alldevs and
allevents lists.
1996-04-04 00:26:28 +00:00
christos 09afd77655 More proto fixes 1996-02-09 18:59:18 +00:00
christos 8a5b1b92e2 First pass at prototyping 1996-02-04 02:15:01 +00:00
thorpej 5b39541e48 New generic disk framework. Highlights:
- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
mycroft 27b9d9f436 Eliminate an extra variable. 1995-12-09 04:07:41 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
christos 3d1b06ab09 - new copyargs routine.
- use emul_xxx
- deprecate nsysent; use constant SYS_MAXSYSCALL instead.
- deprecate ep_setup
- call sendsig and setregs indirectly.
1995-04-22 19:42:47 +00:00
cgd fd10fb94e5 make it reasonable for processes to not double-map it's user area and kstack 1995-03-25 22:05:15 +00:00
mycroft 20a403a292 Nuke startinit_verbose. 1995-03-19 23:27:03 +00:00
mycroft af0c359450 Turn mountlist into a CIRCLEQ, and handle setting and checking of MNT_ROOTFS
differently.
1995-01-18 06:14:43 +00:00
cgd 6bec8ab087 cast pointers to longs. 1995-01-12 05:22:18 +00:00
cgd 596b9735bd make return type explicit, from James Jegers 1994-12-24 14:07:52 +00:00
cgd a2e9d6806f use ALIGNBYTES for calculating alignment. no reason not to, and good style
to do so.
1994-12-19 14:36:46 +00:00
deraadt 84ff6c006a you cannot ALIGN() backwards 1994-11-03 05:58:44 +00:00
cgd 64d07daf4f kill space. 1994-10-28 23:17:22 +00:00
cgd 6b86130410 update for new syscall args description mechanism 1994-10-20 04:22:35 +00:00
cgd 90f2c4f70a DEBUG and/or DIAGNOSTIC shouldn't cause thing to be printed for "normal"
cases, unless the user explicitly requests it.  add variable
startinit_verbose to control init-starting messages.
1994-10-18 06:28:06 +00:00
mycroft 98e70587d5 Avoid GCC generating a call to memset(). 1994-10-11 09:26:01 +00:00
mycroft 480c10c23a Maintain vfs reference counts. 1994-09-22 02:17:00 +00:00
mycroft 1435172b90 Nuke the silly `--' hack when there are no flags. 1994-09-10 04:44:23 +00:00
mycroft 2f710a54ee Convert process, file, and namei lists and hash tables to use queue.h. 1994-08-30 03:04:28 +00:00
cgd be81092ac3 fix RCS ID. *sigh* 1994-07-17 23:52:09 +00:00
mycroft 3673f99efd No more HP copyright. 1994-07-03 11:45:41 +00:00
cgd ea1b26b17b kill a relic 1994-07-03 00:19:54 +00:00
cgd d8d1a3037b fix warning 1994-06-30 19:00:49 +00:00
cgd e692ddd378 fix some lossage 1994-06-30 15:57:05 +00:00
cgd cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
mycroft 699bbb84b6 Update to 4.4-Lite fs code. 1994-06-08 11:28:29 +00:00
cgd 5337d9fb95 kill old init-starting code 1994-06-03 04:26:06 +00:00
phil 0ca1daa954 pc532 now does new init process 1994-05-31 21:56:06 +00:00
gwr 7b95dc1e1b Now the sun3 stars init the new way. 1994-05-29 05:20:11 +00:00
deraadt 2936fcf647 ufs/ufs/quote.h? no.. not yet.. 1994-05-27 23:01:02 +00:00
mycroft 9140aa53a3 hp300 port is blessed. 1994-05-27 12:49:52 +00:00
mycroft 63b45d5a21 The i386 port is now blessed. 1994-05-27 11:25:00 +00:00
chopps 1e9889f1c5 amiga now included in list of new init bootstrap users 1994-05-27 10:33:23 +00:00
mycroft fecf7cf468 Fix thinko in last change. 1994-05-27 08:51:21 +00:00
mycroft d337b80b79 Get the arguments to vm_allocate() right in new init code. 1994-05-27 08:46:50 +00:00
glass 12765858aa pmax and sparc take the 4.4-lite path 1994-05-27 07:54:34 +00:00
cgd df4db4cfda add latent stupport for new way of starting init 1994-05-21 07:47:54 +00:00
cgd 31f076d805 kill a notdef 1994-05-19 05:57:17 +00:00
cgd 21a03cca53 mostly-machine-indepedent switch, and changes to match. also, hack init_main 1994-05-18 05:12:10 +00:00