Commit Graph

13993 Commits

Author SHA1 Message Date
mycroft
78356f06b3 Add two vprint()s, to give more informative panic messages. 1995-05-04 03:11:06 +00:00
mycroft
0175317fc3 If we decide to use IRQ 13, explicitly turn off CR0_NE to be sure. 1995-05-04 00:30:56 +00:00
mycroft
94f4346537 Update a comment to match that last change. 1995-05-04 00:20:40 +00:00
mycroft
f0a42753e4 npxinit() should not be called during autoconfig now. Watch for this
condition.
1995-05-04 00:16:40 +00:00
mycroft
e03a827a0a Move some comments from before npxsave1() to before npxsave(). 1995-05-04 00:00:25 +00:00
mycroft
bfef4c14c5 Slight rearrangement, to make the TS handling easier to follow. 1995-05-03 23:09:37 +00:00
mycroft
99224602b4 Only dump the FPU state if the process actually used the FPU. 1995-05-03 23:05:46 +00:00
mellon
139d140728 Ensure that __progname is in .data, not in .sdata 1995-05-03 22:13:15 +00:00
cgd
011aa68805 looks like some extra ')'s were left in here. 1995-05-03 21:38:57 +00:00
mycroft
d23aebf3bb Fix pccnpollc(). 1995-05-03 20:46:32 +00:00
jtc
11fa45b258 Add i387 "float" functions to the makefile 1995-05-03 20:42:23 +00:00
ragge
a412d4803c mtpr support for 11/780 added. DELAY added. mcount() corrected.
trapframe fixed to support all registers.
1995-05-03 19:53:40 +00:00
mycroft
1d2f0bce2a Make the byte-shifting code consistent. 1995-05-03 19:38:45 +00:00
ragge
35d394d7e4 Changed conf.c to new style. Took away double saving of regs in traps.
Changed boot() to use vfs_shutdown(). Updated setregs.
1995-05-03 19:20:09 +00:00
cgd
1e0c08b206 uncomment cy driver spec; i386 conf.c needs the header file. 1995-05-03 17:09:28 +00:00
jtc
684161edae Added i387 remainderf and sqrtf 1995-05-03 14:47:35 +00:00
mycroft
6db4e1b58a By default, don't frob the ICU masks here. The software masking should
be sufficient.
1995-05-03 14:31:35 +00:00
mycroft
aff3578b36 Explicitly unblock SIGALRM while waiting. 1995-05-03 12:52:43 +00:00
mycroft
0e3d3efb27 Change the interface to stop(). 1995-05-03 07:36:59 +00:00
mycroft
a5c76fd34c Use POSIX tty semantics. 1995-05-03 07:13:51 +00:00
mellon
c6a24163a3 Use Alpha cdefs.h 1995-05-03 06:04:54 +00:00
jtc
d08e2815ca None of the functions in util.c are needed by NetBSD, so don't
bother to compile it.
1995-05-03 05:09:14 +00:00
briggs
b1f67e2969 m68k sig{set,long}jmp from Henric Jungheim (uhenric@mcl.ucsb.edu) as
followup to GNATS report port-amiga/1009.
Passes regression tests.
I added a NetBSD string and changed jbra to jra.
1995-05-03 03:43:05 +00:00
phil
e4748bf0ca typo: fld_... -> flt_... 1995-05-03 03:25:11 +00:00
mycroft
f57d609a52 Use PCB_USEDFPU, and a small performance tweak. 1995-05-03 00:17:16 +00:00
cgd
66927585fc make an __indr_references macro, that expands to nothing... 1995-05-03 00:13:55 +00:00
mycroft
e772f7c5ef Set PCB_USEDFPU. 1995-05-03 00:09:13 +00:00
mycroft
029176e96b Add PCB_USEDFPU. 1995-05-03 00:08:19 +00:00
jonathan
64b99b333d The pmax 3100 interrupt-init code is broken: cpu_startup() enables
interrupts before it calls configure().  On 3100s, this can result in
the ethernet interface interrupting before leprobe() is ever called.
Be a bit more defensive in leintr(), where it was dereferencing a null
pointer.  This reputedly fixes the oft-reported problems of 3100s not
ooting unless they're on an idle net or had a hard reset done before boot.
(Reworking the config code completely would be nice too.)
1995-05-02 20:00:09 +00:00
jtc
437b1a3f15 Enable C and Pig Latin message catalogs. 1995-05-02 19:57:15 +00:00
jtc
0e315a5455 C and Pig Latin message catalogs for libc 1995-05-02 19:56:27 +00:00
jtc
615fb07b15 The C Standard says that printf's format string is a multi-byte
character string.  NA1 says that the 99 characters required by the
Standard have representations in the initial state which are one byte
long and do not alter the state.

Thus we can safely break apart the format string with mbtowc() until
we reach a '%' character, and the process format directive characters
one by one.

We really shouldn't be using mbtowc(), rather mbrtowc() (which takes a
mbstate-t argument) but we don't have the NA1 functions implemented
yet.  This is safe, because even when we do we're not likely to
support multi-byte character encodings that use shift states.
1995-05-02 19:52:41 +00:00
jonathan
be2c7f3d13 If we panic inside trap(), Do a stack traceback before printing the trap log.
Also change the stack-traceback code to avoid having multiple returns
(and thus multiple stack pops) because with gcc -O2 that breaks the
heuristic that a "jr ra" preceding the PC precedes code to push the
current stack frame.  Which breaks stacktrace() before it even
traces past itself :-(.  Use a goto instead.
1995-05-02 19:51:52 +00:00
pk
0c8be3a288 Make sure kbdopen() ships the keyboard reset cmd. 1995-05-02 07:56:42 +00:00
leo
176d4dd6e5 Added -T option. 1995-05-02 05:54:28 +00:00
mycroft
78cb5bbe77 Use POSIX tty semantics. 1995-05-02 02:05:47 +00:00
mycroft
66f0c16f14 Use POSIX tty semantics. 1995-05-02 01:40:14 +00:00
mycroft
bd23a1002f Use POSIX tty semantics and err*(3)/warn*(3). 1995-05-02 01:22:58 +00:00
cgd
3d9ffd41f3 make this work sanely on a 64-bit machine. Sacrifices a small bit of
error checking in the DIAGNOSTIC case.  These changes might be backed out,
if it's decided that MINBUCKET should be 5 (rather than 4) on the alpha.
However, doing that has its own set of nasty consequences.
1995-05-01 22:39:11 +00:00
cgd
2581c66077 remember first error code (if any) that's different than ENOEXEC.
Not perfect, but there's no perfect solution to the "multiple interesting
error codes" problem.
1995-05-01 22:36:45 +00:00
mycroft
73fead01fc Fix typos. 1995-05-01 19:45:42 +00:00
mycroft
1ff4bb49de Adjust for new defn of md_regs. 1995-05-01 19:33:17 +00:00
mycroft
bc5a1863db Declare sigcode and esigcode. 1995-05-01 19:01:45 +00:00
mellon
edab8dc1d9 Oops, took out a bit too much 1995-05-01 17:35:45 +00:00
mellon
7bada980a5 Oops. Undo some console code checkins that didn't belong. 1995-05-01 17:22:20 +00:00
mycroft
88f28c3996 Fix typo. 1995-05-01 14:19:14 +00:00
mycroft
8792c8e284 Save and restore %fs and %gs across signals. 1995-05-01 14:15:07 +00:00
mycroft
4eea138a48 Add sc_gs and sc_fs. Move sc_onstack and sc_mask to end. 1995-05-01 14:14:11 +00:00
pk
c78dd5a369 New location & definitions for audio driver. 1995-05-01 14:13:45 +00:00
mycroft
bbfcbb8483 Add VM86 segment registers to trapframe. 1995-05-01 14:13:26 +00:00