Commit Graph

21828 Commits

Author SHA1 Message Date
jonathan 18db5ea067 * Rename miniroot GENERIC kernel to GENERIC
* Add changes needed/used to build 1.2 GENERIC kernel:
  * Delete obsolete and ambiguous DS5000 option.
  * Add CPU_R3000 which is now required to compile in mips1 locore support.
  * Add an explicit declaration of HZ.
  * back out COMPAT_12 for this revision.
1996-08-28 05:49:35 +00:00
mrg 358f853f46 re-order to allow NBPG/PGSHIFT/PGOFSET to work always. 1996-08-28 03:01:27 +00:00
explorer 97227d64b3 find ../sys relative to src dir, not obj dir 1996-08-27 23:42:01 +00:00
explorer c3d35c35af Do the symlinks added by mrg correctly 1996-08-27 23:31:47 +00:00
explorer 497b575ce6 Fix a missing dollar sign, and move paths and modes
to bsd.own.mk for KMOD* vars
1996-08-27 22:15:52 +00:00
cgd 2a73ef60b7 change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
thorpej db75d73b4c sbappend() -> sbappendrecord(); fixes SNAP encapsulation on NATM sockets.
From Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>.
1996-08-27 21:45:21 +00:00
explorer 576f04f8b1 Clean up some unneeded Makefile variables 1996-08-27 21:44:32 +00:00
thorpej dbe7ffa007 Add support for AAL5 datagram sockets.
From Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>.
1996-08-27 21:37:29 +00:00
cgd f8ed933394 implement realloc(), just like the user-land version, except it takes
"type" and "flags" arguments a la kernel malloc().
1996-08-27 20:01:42 +00:00
cgd 2c47809239 include <sys/systm.h> for printf prototype 1996-08-27 16:28:08 +00:00
cgd 00209d1db1 remove include of <sys/types.h> (it's implied by including
<sys/param.h>, and historically has been), and add include of
<sys/systm.h> for prototypes.
1996-08-27 16:24:18 +00:00
jonathan 73a5d45710 * Add initialization of colourmap array when using mfb as a console.
* Add interrupt handler for 3MIN, where we cannot disable TC slot interrupts.
* Change mfbinit() signature to match other (pmax) TC framebuffer init
  routines.
* TODO after 1.2: add {cfb,mbf,sfb}var.h. Declare init functions there.
1996-08-27 02:32:48 +00:00
cgd de2285c4d2 #undef assert before defining it, so the new libkern definition doesn't
conflict with this one.
1996-08-27 01:00:00 +00:00
cgd 5c7192b20c Including user-land headers in kernel code is not allowed in NetBSD.
Therefore:
	(1) define offsetof here, and
	(2) implement assertion checking in terms of the libkern
	    assertion-checking macros.
1996-08-27 00:51:29 +00:00
cgd bdbfa48c0b Add machine-independent assertion-checking support. macros are:
assert()	which always does assertion checking
			unless "NDEBUG" is defined.

	KASSERT()	which does assertion checking if DIAGNOSTIC
			is defined.

	KDASSERT()	which does assertion checking if DEBUG is
			define.  This macro exists for compatibility
			with existing ports' assertion checking macros.
			(Assertion checking is not typically an
			"expensive" operation, and DIAGNOSTIC should be
			used for inexpensive consistency checks.)
1996-08-27 00:44:20 +00:00
cgd d32f475ed4 regen for new tcdevs 1996-08-26 23:41:46 +00:00
mrg b8e9f36083 add COMPAT_12. 1996-08-26 23:39:36 +00:00
cgd 3076d34c84 add entries for DGLTA-FA and OTTO ATM boards, alphabetize and clean up
other entries.
1996-08-26 23:39:34 +00:00
mrg 4daafadec3 add COMPAT_12. 1996-08-26 23:39:21 +00:00
thorpej 07e59e34e8 Regen; syscalls.master changed. 1996-08-26 22:52:17 +00:00
thorpej b0f977ee6b Implement sunos_sys_execve(). The previous code simply called
sys_execve() without doing an alternate patch check, which was
incorrect.  Bug pointed out by Krister Walfridsson <cato@df.lth.se>
on port-sparc@NetBSD.ORG.
1996-08-26 22:49:43 +00:00
veego a107442de9 added ./usr/include/machine/conf.h 1996-08-26 21:48:53 +00:00
cgd 6b5b72905d regen for new pcidevs 1996-08-26 20:20:02 +00:00
cgd 8080fdf200 add ids for the PGXGB (TGA2), and DGLPB (OPPO). 1996-08-26 20:12:16 +00:00
gwr 7ea45d9109 Add this on the main branch too. 1996-08-26 16:04:54 +00:00
scottr 7dff0aa247 After servicing an interrupt, check to see that there's not another
one pending before we clear the interrupt flag.  This avoids a condition
where the line appears to go catatonic (which is particularly easily
triggered by pppd).  From Bill Studenmund <wrstuden@loki.stanford.edu>.
XXX - we should probably log this if it gets excessive.
1996-08-26 14:09:19 +00:00
thorpej 2d88fe9293 Old-style disk instrumentation is long gone, buster! 1996-08-26 06:47:42 +00:00
thorpej 3eaf7130d9 Update for structure member name changes made in the MI code. 1996-08-26 06:39:03 +00:00
tls 1986672399 move rpc daemon startup to after network startup so that if the machine is a DNS server and wants to resolve via itself, one doesn't have to wait for all the DNS queries to time out as each rpc daemon starts. This was particularly ugly with mountd. 1996-08-26 06:02:21 +00:00
thorpej 25507ee843 Pull md_install_sets() changes down from release branch. 1996-08-26 02:34:37 +00:00
jtk b86b695240 add Advanced Power Management driver
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)
1996-08-25 23:38:57 +00:00
pk f8b994ef5b sync with 1.2 branch 1996-08-25 14:59:00 +00:00
pk 3644c8dbbd Pull up fstab changes from 1.2 branch. 1996-08-25 14:49:06 +00:00
thorpej 7e7c76ba78 Correct mistakes similar to those made in cgfour.c: Log message from
cgfour.c:

Fix a typo and an error in color plane offset calculation.  Submitted by
Konrad Schroder <perseant@hitl.washington.edu>, PR #2695.
1996-08-25 07:47:34 +00:00
thorpej a90c2638f0 Add the United Kingdom and Swedish HIL keyboard maps to the kernels
used in the binary snapshots.
1996-08-25 01:22:13 +00:00
thorpej c4dce4a8fa Sync up wtih WWW pages. 1996-08-24 22:59:10 +00:00
thorpej 1effb21638 Acknowledge a donation from James Chacon. 1996-08-24 22:08:07 +00:00
thorpej eb233a57af Note that Frank van der Linden is co-maintainer of port-i386, and add
Karl Schilke (rAT) to "Supporting Cast".
1996-08-24 22:05:44 +00:00
thorpej 9e879405a4 Update to reflect the new name of the hp300 boot blocks. 1996-08-24 19:39:43 +00:00
leo 4c996d1a2a Fix a compiler error. 1996-08-23 20:06:29 +00:00
leo 2df99561c9 - Make the Hades a valid machine type
- Add some 68040 specific prototypes.
1996-08-23 11:21:01 +00:00
leo 0f6a2c3cef - Make all definitions relative to 'stio_addr'
- Add the PCI areas.
1996-08-23 11:17:00 +00:00
leo 3a68f68754 Don't use an absolute I/O adress. 1996-08-23 11:14:59 +00:00
leo 26039da980 Fix some compiler warnings. 1996-08-23 11:12:51 +00:00
leo dd183a092a Recognize the Hades as a valid machine type. 1996-08-23 11:11:51 +00:00
leo d546be9627 Make the fpu config info print somewhat nicer. 1996-08-23 11:10:10 +00:00
leo 6ab410f919 - Make it compile & work for the 68040
- Map the various I/O areas just below Sysmap
- Cleanup a bit
- Fix machine-type detection to recognize the Hades.
1996-08-23 11:07:56 +00:00
mrg 8cc0c9583c make lkm's work. still need to worry about options defines... 1996-08-23 06:14:36 +00:00
mrg 3b78ac59ad Update these to build in a consistant manner, and not assume /sys, etc.
Should work with obj dirs but not heavily tested.
1996-08-23 05:38:53 +00:00