Commit Graph

13988 Commits

Author SHA1 Message Date
jtc
3ba2c075cf #include appropriate header files to bring prototypes into scope 1995-05-13 06:58:18 +00:00
chopps
d2d8deb3bb make recent cpu_fork() changes more similar with hp300. 1995-05-13 05:57:25 +00:00
chopps
51731ce367 fix dumpmem 1995-05-13 05:17:56 +00:00
jonathan
4175c2819f Redo 3MAX+ (5k/240) interrupt enable code.
Instead of being a no-op, kn03_intr_enable() sets the sw copy of the
interrupt-enable mask *and* writes it into the IO asic intr-enable
register.  Boot code sets the sw copy (kn03_tc_imask) to something
sane (KN03_IM0, with tc option slots turned off).  Tested and works.
Interrupt code for other IOASIC machines should be redone so that
interrupts for devices are enabled by drivers, rather than by
cpu-specific boot code.  Functions common to all IOASIC machines
(PSWARN?) should be done by asic_init().

Checked in without the above changes so that 3MAX+, MAXINE and 3MIN
interrupt-(enable,handle) can converge.
1995-05-12 23:27:23 +00:00
cgd
eec988bcd8 use new crunchgen options 1995-05-12 21:16:03 +00:00
cgd
e36baaae46 add two flags:
-D to specify a "root" from which relative source dir paths
		are assumed to begin, and
	-L to specify the library path for included libs.
1995-05-12 21:13:13 +00:00
cgd
fc90442d14 add lots of vnds 1995-05-12 21:08:41 +00:00
leo
93dc1f1fea Make it work for both Amiga and Atari. Add new '-f' option. 1995-05-12 21:04:26 +00:00
mycroft
af73578e82 Map the source page of a copy read-only. 1995-05-12 20:57:22 +00:00
leo
096846a93b Atari-port now also uses iteconfig 1995-05-12 20:51:38 +00:00
mycroft
76860a15b0 Add a child_return() function to clean up the child's state correctly, and
use this in cpu_fork().  Generalize proc_trampoline() so it can also be used in
this case.
1995-05-12 18:24:46 +00:00
cgd
c821cb684a (1) conditionalize debugger usage in comeint with DDB, not COMCONSOLE;
latter would lead to undefined symbols if DDB not defined.
(2) check for break on console, and therefore debugger entry (if ddb
	in kernel) earlier, so that the device doesn't need to be open.
(3) return immediately after breaking into the debugger in comeint().
(4) only do the normal character input routine in comintr if receive
	mask yeilds _EXACLTY_ LSR_RXRDY.  if there's only a receive
	error, or there's a receive error _and_ a received character,
	do comeint().
(former two by me.  latter two from Bob Baron <rvb@cs.cmu.edu>.)
1995-05-12 17:54:41 +00:00
chopps
0cb62c1cb4 added flsc and bzsc. 1995-05-12 13:09:17 +00:00
mycroft
94cb5327ca Stylistic change. 1995-05-12 13:04:33 +00:00
mycroft
46426ac542 main() should never return. 1995-05-12 13:03:23 +00:00
chopps
21d667c8ab scsi drivers for fastlane and blizzard controllers that use the
Emulex FAS216 chip.  from Daniel Widenfalk <t94dwi@student.tdb.uu.se>
1995-05-12 12:59:05 +00:00
mycroft
9877d5d787 Eliminate the double mapping of the kernel stack. Enable swapping. 1995-05-12 12:54:44 +00:00
mycroft
7bf54feda1 Add vnd. 1995-05-12 12:49:54 +00:00
mycroft
3d833a1ab1 Conditionalize the code in process_frame() on the existance of
cpu_set_init_frame().
1995-05-12 12:47:45 +00:00
mycroft
c52debae3f Redefine the first part of struct frame to be a struct trapframe, and add a
struct switchframe.
1995-05-12 12:45:24 +00:00
pk
b842247a6c config.new => config; use GENERIC kernels. 1995-05-12 08:51:55 +00:00
jtc
c1c8f42080 Changed core routines to call __ieee754_sqrt() instead of sqrt(). I
reported this enhancement to fdlibm-comments, and got the following
reply:

Date: Thu, 11 May 1995 14:35:25 -0700
From: Kwok.Ng@Eng.Sun.COM (KC Ng)
To: fdlibm-comments@sunpro.Eng.Sun.COM, jtc@cygnus.com
Subject: Re: fdlibm 5.2: why do core functions use sqrt?

> I noticed that core (e_*.c) fdlibm functions like __ieee754_acos()
> ensure that they call sqrt() with arguments in range (x > 0), when
> they could call __ieee754_sqrt() directly.
>
> Since sqrt() does a lot more work (verifies x is in range, etc.) is
> there any reason for this?  I'd think that calling __iee754_sqrt()
> would be more appropriate.  ....

You are right. __ieee754_sqrt should be in use with e_*.c.
1995-05-12 04:57:13 +00:00
cgd
86949e924c make paths relative, note that halt and reboot are same bin now. 1995-05-12 03:42:57 +00:00
cgd
0f27426719 deal with relative life, and note that halt and reboot are marged 1995-05-12 03:33:22 +00:00
cgd
20a68de085 only one kc now 1995-05-12 03:27:38 +00:00
cgd
eb4cd26383 from the comments at the top of the file:
INSTALL -- somewhat generic kernel with a snowball's chance of
	   fitting on an install floppy.

This kernel MUST consist (for users' sanity) of a subset of
the GENERIC configuration.  It also should support X reasonably
(though the SysV SHM extensions won't work).

To avoid a maintenance nightmare, this kernel consists of GENERIC
with missing options/devices/etc. REMOVED rather than commented
out.  That makes it easy to diff agains GENERIC, to make sure that
it really is a subset of the functionality.
1995-05-12 03:19:51 +00:00
cgd
aeb93da3d7 Split FFS,QUOTA line, comment each individually.
Add 'options INSECURE' so that the GENERIC kernel is happy with
X's linear mapping.
1995-05-12 03:18:05 +00:00
cgd
37824aaa5f don't forget bdes 1995-05-12 00:44:22 +00:00
chopps
c7b33abd2d enable swapping of process 1995-05-12 00:21:54 +00:00
chopps
a15205fdbf use stdframe from m68k/include/frame.h 1995-05-12 00:18:09 +00:00
chopps
4567f74662 add stdframe (4-word frame) 1995-05-12 00:01:05 +00:00
chopps
2526492410 fix typo 1995-05-11 23:49:56 +00:00
cgd
11b0070a5f don't build netgroup(5) here. 1995-05-11 23:15:22 +00:00
chopps
1ba39fdfd1 conditional use of kstack, specifically there is no kstack on the amiga 1995-05-11 23:15:13 +00:00
cgd
be68575548 don't build netgroup(5) here. 1995-05-11 23:15:05 +00:00
cgd
ad294f7eb0 build/install netgroup man page from here. 1995-05-11 23:13:15 +00:00
chopps
35785d310e remove double mapping of kernel stack. created cpu_set_kpc() 1995-05-11 23:04:18 +00:00
jtc
9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
chopps
b6e35ee17f fix len bug from Jason Thorpe <thorpej@nas.nasa.gov> 1995-05-11 22:55:12 +00:00
cgd
dd6987cafa don't get syscalls.c with an absolute path 1995-05-11 22:29:04 +00:00
cgd
1c80e0a25a update for the current state of the world. 1995-05-11 22:28:07 +00:00
cgd
7991247981 don't forget MULT!! 1995-05-11 22:00:50 +00:00
christos
07bae7eddd Merge in my changes from vangogh, and fix the x=false; echo $? == 0
bug.
1995-05-11 21:28:33 +00:00
jtc
8aa6c376b6 KERNEL -> _KERNEL 1995-05-11 16:52:54 +00:00
jtc
93e62fefe1 termcap@berkeley.edu no longer exists, tell people to send termcap
updates to netbsd-bugs@netbsd.org instead.
1995-05-10 23:17:56 +00:00
jtc
5446dea133 Commented out inappropriate sections and cross references 1995-05-10 22:46:24 +00:00
jtc
d042a3eb20 Id -> NetBSD 1995-05-10 20:44:22 +00:00
cgd
64d4944e2f from Mike Karels:
allow Q_SYNC regardless of "target" uid, we allow it with -1;
fix bug that caused all ops to refer to user quotas, not group.
[finally had a chance to check this!]
1995-05-10 18:00:45 +00:00
christos
078a98c864 Fixed compat hpux files. 1995-05-10 17:02:52 +00:00
christos
fb371ccef0 tty_tb.c: need to include ioctl_compat.h in order to compile.
sysv_shm.c: make shm_find_segment_by_shmid global so it can be used by
	    COMPAT_HPUX. There should be a better way...
rest: Add #ifdef COMPAT_HPUX where needed
1995-05-10 16:52:53 +00:00