Commit Graph

348 Commits

Author SHA1 Message Date
thorpej
c01f29bdf1 Sigh, we are going to have to burn a vector for Just Sigreturn again,
for now, until we have a more generic {get,set}context().  Update the
comment for trap #3 accordingly.
1998-10-04 23:38:55 +00:00
thorpej
d15a64c38b Adapt to signal changes. 1998-10-01 02:53:53 +00:00
thorpej
8b220e1148 Define SYS_compat_13_sigreturn13. 1998-10-01 00:29:51 +00:00
thorpej
bcf14a99e2 Garbage collect trap #1 and trap #2 handlers; they're moved to
trap_subr.s
1998-09-30 23:47:33 +00:00
thorpej
1e62485c23 If !COMPAT_13, make trap #1 produce an illegal instruction. Fix the comment
for trap #2 to reflect that it's the trace trap.
1998-09-30 23:13:58 +00:00
thorpej
a11e6632a8 Pull in opt_compat_netbsd.h 1998-09-30 23:01:28 +00:00
thorpej
35d282c8d5 Make sure SYS_exit and SYS___sigreturn14 are defined. Garbage collect
SYS_sigreturn.
1998-09-30 22:23:13 +00:00
thorpej
38084c6615 Note that trap #1 is compat_13_sigreturn, and give trap #3 to syscalls
which require special handling, e.g. sigreturn on m68k.

This differs from the old sigreturn trap in that we require the syscall
number to be in register d0, just like the regular syscall entry point.
This will allow sigreturn to be versioned in the future without the need
to allocate another trap vector.
1998-09-30 22:14:11 +00:00
mycroft
7b15b3b56d Minor change. 1998-09-13 12:01:41 +00:00
minoura
6b6b9e2706 Make device probe/attach sessions to be executed at splhigh.
mha driver used interrupt driven I/O.
1998-09-09 16:42:51 +00:00
thorpej
70e641047c In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
to).
1998-09-09 11:17:24 +00:00
thorpej
8abe0d6b1c Adjust for the new "reaper" kernel thread: do not free the vmspace and
u-area in machine-dependent code.  Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
minoura
cfa2e4dfa3 Activated options *_PAGER.
That was a careless mistake.
1998-09-08 15:43:27 +00:00
minoura
074790dfb9 Make it usable. 1998-09-07 14:24:08 +00:00
minoura
334656f748 Cleanup _doboot, fixing the 040 reboot bug. 1998-09-07 14:14:34 +00:00
minoura
99517aa6c3 Reorganized the config files based on NetBSD/sparc ones.
Removed unmaintained files.
1998-09-07 14:11:08 +00:00
lukem
c9db84ecc9 distclean is a synonym for cleandir 1998-09-05 15:15:14 +00:00
minoura
2eacfa5148 Deleted unused options EIOMAPSIZE and ITEKANJI.
Removed unmaintained configs.
1998-09-03 14:29:33 +00:00
minoura
2b34aa908f Eliminated meaningless ITEKANJI. 1998-09-03 14:22:06 +00:00
minoura
8749f59fe4 Unimplemented EIOMAPSIZE defaults to 0. 1998-09-03 14:13:18 +00:00
itohy
3e5ec30a8f Use subdirs. 1998-09-01 20:18:37 +00:00
itohy
b5f246a8ca Changed algorightm to figure out boot device.
Use type of SCSI interface, target SCSI ID and LUN,
passed from the boot loader.
1998-09-01 20:08:21 +00:00
itohy
f9175d6bc7 NetBSD/x68k boot loader. The xxboot now can boot NetBSD from
1. >1GB SCSI disks,
  2. any of the top 7 partitions on disks, and
  3. any SCSI interface.
1998-09-01 20:02:32 +00:00
itohy
ecc30b1784 New boot program.
Load and execute NetBSD/x68k kernel from Human68k.
1998-09-01 19:55:32 +00:00
itohy
8f7b16dd71 X680x0 IOCS library. 1998-09-01 19:53:54 +00:00
itohy
f67f070984 Human68k DOS library. 1998-09-01 19:53:25 +00:00
itohy
16964edb07 The files are moved to stand/xxboot/gunzip/. 1998-09-01 19:52:48 +00:00
itohy
bfd67e9c16 Files used in common. 1998-09-01 19:51:56 +00:00
itohy
19f52a192c New utility program.
Convert a.out to Human68k ".x" format executable.
1998-09-01 19:51:07 +00:00
itohy
330356bc46 The files are moved to stand/xxboot/. 1998-09-01 19:49:33 +00:00
itohy
b8e89a2507 Removed unused files. 1998-09-01 19:48:00 +00:00
itohy
1bf1486a77 Added an include file on port dependent boot information. 1998-09-01 19:47:38 +00:00
itohy
62f989f832 Removed unused files. 1998-09-01 19:44:14 +00:00
minoura
e97803df25 Typo. 1998-09-01 15:05:21 +00:00
minoura
7f4ad4748e Eliminated vm_offset_t and vm_size_t. 1998-08-22 14:38:36 +00:00
mycroft
d07b3639a4 Assign my copyrights to TNF. 1998-08-15 17:47:15 +00:00
mycroft
cc8a78e783 Assign my copyrights to TNF. 1998-08-15 04:42:42 +00:00
mycroft
cdf829a998 Assign copyrights to TNF. 1998-08-15 04:22:45 +00:00
mycroft
6d3d8a1350 Make copyright notices with my name consistent. 1998-08-15 03:02:31 +00:00
minoura
a6b5ab0c92 Moved parioctl.h to the system header directory. 1998-08-07 16:16:36 +00:00
minoura
4c4cdda003 Switched to MI zs driver. 1998-08-07 11:19:13 +00:00
minoura
d082dd3db4 Moved grfioctl.h and iteioctl.h to the public include directory. 1998-08-06 14:08:53 +00:00
minoura
4df8f47ebc Switched to MI zs driver. 1998-08-05 16:08:33 +00:00
minoura
e8551dcab3 Fixed stray pointer access reported by Yasufumi Itoh. 1998-08-05 15:57:43 +00:00
minoura
89f91f85fa Fixed typo. 1998-08-05 14:40:20 +00:00
minoura
b72d8d17f9 __BROKEN_INDIRECT_CONFIG fixes. 1998-08-04 16:51:51 +00:00
minoura
ea7f1dbe36 Some files were not deleted with make clean.
Keymap files are now installed in /usr/share/keymaps/x68k.
1998-08-04 16:39:55 +00:00
minoura
aced90770c Message fixes. 1998-08-04 16:10:45 +00:00
minoura
233cd5d60b RB_POWERDOWN is now supported.
Check if the power switch is open (off) in the shutdown_hook,
and try removing the power in cpu_reboot.
poffd default action is now shutdown -p.
1998-08-04 16:07:53 +00:00
thorpej
3ff8e6493a Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:34:52 +00:00