Commit Graph

96535 Commits

Author SHA1 Message Date
rafal
e9ca49cdee Fix nasty crashes on IP22 machines with console running at 38.4kbps (which
generally translates to "high interrupt load") -- the old code re-enabled
interrupts in the machine-specific hardware interrupt handler causing the
handler to be re-entered, possible multiple times.  Could lead to kernel
stack overflows, and all sorts of mysterious crashes/hangs as a result.

While here, fix up the IP32 interrupt handler code to also not re-enable
interrupts.

Thanks for ideas/comments go to Chuq and Stephen Ma.
2002-04-29 02:06:14 +00:00
thorpej
7be035e7c7 Only print console messages about SIGSEGV and SIGILL if the
kernel was built with DEBUG.
2002-04-29 01:54:11 +00:00
simonb
eb0846961e Remove <sys/types.h> from synopsis, as per latest SUS/Posix specs. 2002-04-29 01:41:43 +00:00
enami
cb3d9867b6 Log who invoked the s[ug]id program. Tested by mozilla. 2002-04-28 22:35:19 +00:00
bjh21
2b918abe52 I believe I've fixed nbmake's dependency on /bin/sh. 2002-04-28 22:28:38 +00:00
bjh21
8dd390a3ac This script is run on the host for cross builds, so it can't use mktemp -d.
Use a tidied-up version of my shell fragment from maketars instead.
2002-04-28 22:17:43 +00:00
mjacob
85fc807bc1 suggestion from Jason: have (in non-verbose boot case) card type printed out
on same line as attachment line.
2002-04-28 21:32:14 +00:00
manu
adc1ff6c40 Added pread() and pwrite() 2002-04-28 20:23:21 +00:00
manu
fc1efb9ee8 Use stack rlimit for the stack size, and not the current stack size. This
avoids requestion 2*rlimit on second sproc call.
2002-04-28 19:42:13 +00:00
manu
c2f72d8d1c Updated PR_GETNSHARE and added PR_TERMCHILD 2002-04-28 17:56:53 +00:00
briggs
98ec565a96 Catch up with 1.5 branch... Allow nvram device to be omitted from kernel
configuration.  Fix noted by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> and
problme noticed by Louis Guillaume <lguillaume@berklee.edu>.
2002-04-28 17:55:47 +00:00
wiz
b1017b64f1 Formatting, grammar, spelling, and other improvements. 2002-04-28 17:44:43 +00:00
manu
3568060679 Implements IRIX sproc(2) and friends.
There may be a problem with stack size overflow in this implementation
2002-04-28 17:21:58 +00:00
atatat
c583268d4e That should be "ls -lTd", not "ls -lT" 2002-04-28 17:21:33 +00:00
uch
6d338ff407 Use "#define<tab>", white space nits. 2002-04-28 17:10:32 +00:00
atatat
66ffa38431 Provide some documentation on the EPASSTHROUGH new world order. 2002-04-28 14:13:38 +00:00
msaitoh
c67dc60a0a add missing postsig() call.
I don't know whether this is true fix or not.
2002-04-28 12:51:14 +00:00
zuntum
0f1273fc58 Xref fabs(3)
OK'd by Jaromir Dolecek
2002-04-28 11:52:43 +00:00
msaitoh
ccc0ee640f add missing softintr_establish() call. 2002-04-28 11:38:48 +00:00
isaki
12c2ab4d69 use ${PWD_MKDB} instead of pwd_mkdb. 2002-04-28 11:29:29 +00:00
isaki
7b175df846 Add 'newdisk' entry dropped at previous commit. 2002-04-28 11:28:44 +00:00
isaki
dada32dfc5 Fix path. 2002-04-28 07:31:54 +00:00
wormey
b487c11bb6 Supply missing "flags" keyword. 2002-04-28 06:19:45 +00:00
thorpej
690a4cfca8 * vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode.
(print_insn_mode): Print some basic info about floating point values.
2002-04-28 05:27:46 +00:00
shin
1db7e557d6 sync with hpcmips(rev. 1.7).
delete csh, netstat, tset, and vi to reduce GOT size.
otherwise, libc.a and other objects which was not compiled with -xgot
won't link. (in general, you can't mix -xgot and no -xgot binaries.)


current GOT size is 0000f590 (see below).

 10 .got          0000f590  10010360  10010360  00269360  2**4
                  CONTENTS, ALLOC, LOAD, DATA
2002-04-28 04:16:27 +00:00
enami
88ee31f5b9 Fix the return value of logioctl() for unhandled ioctl; return EPASSTHROUGH
instead of -1.  Fix suggested by Andrew Brown.
2002-04-28 04:13:51 +00:00
thorpej
0be5820cdf Use the disassembler from libopcodes, not a private one. 2002-04-28 02:34:53 +00:00
thorpej
fe11f8da0b Use MEXTADD() rather than open-coding it. 2002-04-28 01:00:26 +00:00
thorpej
dc12059c9e Use M_READONLY() rathern than testing to see if ext_free is set
or MCLISREFERENCED().
2002-04-28 00:54:41 +00:00
thorpej
143be0a01b Use M_READONLY() rathern than a home-grown M_SHAREDCLUSTER(). 2002-04-28 00:53:34 +00:00
shin
c0bca8554c delete csh, netstat, tset, and vi to reduce GOT size.
otherwise, libc.a and other objects which was not compiled with -xgot
won't link. (in general, you can't mix -xgot and no -xgot binaries.)

current GOT size is 0000f618 (see below).

 10 .got          0000f618  10010460  10010460  0026c460  2**4
                  CONTENTS, ALLOC, LOAD, DATA
2002-04-27 23:38:22 +00:00
shin
37b76b7ea4 (forgot to commit this file...)
* make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
2002-04-27 23:24:55 +00:00
enami
9a9bf29bcf A loop to expand file descriptor table and retry is move from fdalloc()
to caller.  So, no longer need to loop in fdalloc().
2002-04-27 21:36:50 +00:00
enami
a58680a4e2 KNF. 2002-04-27 21:31:41 +00:00
shiba
a26fd009c9 Add IDE drive support.
Note:
   (1) Character device major number chages to 49 from 48(in my original
       code). So it is necessary to rebuild device files.
   (2) Must use Booter 2.0.0a10 or later.
   (3) Default mode is cpu busy wait. It is defined by flags 0x1000.
       It will be more slow than before.
       No flags means hardware interrupt mode. But it might be able to
       get no interrupts.

Support machines:
   (1) Quadra 630 series
   (2) PowerBook 150

Non tested machine:
   (1) PowerBook 190 series

Approved by: briggs
2002-04-27 19:29:08 +00:00
atatat
e621222ce7 Add stat(1) to sets lists 2002-04-27 19:17:16 +00:00
bouyer
027861788c Regen: use a u_int32_t in script RAM to pass flags between script and driver. 2002-04-27 18:47:31 +00:00
bouyer
eea7ef4c53 Use a u_int32_t in script RAM instead of the SEM bit in ISTAT to pass flags
between script and driver. This allows more than one flag, and is easier to
manage (we almost can't read/write istat outside of the irq handler).
2002-04-27 18:46:49 +00:00
bouyer
b66175fa2b Regen: implement done command ring. 2002-04-27 17:40:19 +00:00
bouyer
5387f035d3 Implement a ring for the completed commands. This avoid a (problematic only
if error occurs after status is collected) race condition
when using the status byte to detect completed commands (a command descriptor
could be recycled before the device disconnected), and make the
interrupt routine handling completed commands more efficient (no need to
scan target * lun * tag array any more).
2002-04-27 17:39:51 +00:00
tsutsui
142133ad1d Fix IMAGESIZE. (typo in rev 1.4?) 2002-04-27 17:15:48 +00:00
atatat
ba4e8c9674 Add a stat(1) program to /usr/bin. It provides a simple formatting
interface, with reasonable defaults, to the information provided by
stat(2) so that scripts can use the data therein much more easily.
2002-04-27 16:37:19 +00:00
bjh21
0080fde9da Define _PATH_BSHELL to the first "sh" on the PATH when bootstrapping
nbmake.  This should remove our dependency on a nobbled /bin/sh on
Solaris.
2002-04-27 16:36:30 +00:00
ichiro
4e89501466 add CPU ID of IXP1200 network processor 2002-04-27 15:50:59 +00:00
bjh21
b846107274 Rather than hardcoding "/bin/sh", use _PATH_BSHELL. To allow bootstrapping,
provide a default for this in pathnames.h, and only include <paths.h> ifndef
MAKE_BOOTSTRAP.
2002-04-27 15:14:30 +00:00
shin
0201440bd2 * make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
2002-04-27 12:36:47 +00:00
shin
e81d147a25 add INTERTOP CX310 to supported machine. 2002-04-27 12:21:30 +00:00
chris
8480bd8390 Correct typo.
Remove tabs, !Edit on Risc OS shows tabs as [09] by default.
2002-04-27 10:48:13 +00:00
tsutsui
0ab399cb54 Add bbinfo.h. 2002-04-27 10:22:36 +00:00
tsutsui
d60ade3462 Install bbinfo.h. 2002-04-27 10:20:38 +00:00