Commit Graph

12957 Commits

Author SHA1 Message Date
mycroft 99a6cfe734 Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
1995-04-09 22:49:26 +00:00
mycroft 10cfe03e6d Stylistic change to match fpsetsticky(). 1995-04-09 21:55:50 +00:00
mycroft 65a1322cd9 Reverse sense of exception bits. 1995-04-09 21:55:20 +00:00
mycroft e957423a98 Move fp_except and fp_rnd definitions to machine/include. 1995-04-09 21:31:58 +00:00
mycroft 4da3c343e1 Correct fp_rnd for i386. Add FP_X_* for m68k. 1995-04-09 21:30:52 +00:00
mycroft 42d9c8af6c Oops; need to use fnstenv/fldenv for this. 1995-04-09 21:00:57 +00:00
mycroft a94ab51d20 Fix typo. 1995-04-09 20:44:02 +00:00
mycroft 10b402aa60 Add fpset{mask,round,sticky}(). 1995-04-09 20:33:13 +00:00
mycroft ddbc579aa7 Another optimization. 1995-04-09 19:31:33 +00:00
mycroft 14e246dc4a Optimize. 1995-04-09 19:18:49 +00:00
jtc 907e54c9e9 ENTRY(fpgetmask) -> ENTRY(fpgetsticky) 1995-04-09 19:14:28 +00:00
jtc 1b41528de0 removed commented-out #include <machine/asm.h> 1995-04-09 19:13:26 +00:00
mycroft d092e7eb1e Give open() reasonable permissions for creating a file (though this doesn't
matter for the normal case of opening a device).  Suggested by Joerg Wunsch.
1995-04-09 19:02:54 +00:00
pk 2e1b0cc690 Adapt to if.h changes. 1995-04-09 12:36:22 +00:00
pk 6e4b0ecfc6 Unblank frame buffer when entering the debugger. 1995-04-09 11:51:10 +00:00
cgd 5d58f7faee clean up RCS Ids, etc. 1995-04-09 06:00:15 +00:00
cgd b83d704e42 a /usr/bin/banner clone, written by Simon J. Gerraty 1995-04-09 05:53:04 +00:00
gwr f0dfc32ae9 Sync with net/if.h changes 1995-04-09 05:08:33 +00:00
mycroft 7e2e739abf Fix a typo that caused an off-by-one error. 1995-04-08 23:25:34 +00:00
leo 8b093b18a2 Added '\r' chars in printf, so output under TOS becomes readable. Also
added some extra options for debugging.
1995-04-08 21:01:39 +00:00
briggs c17558aa9b Fixup types of a few functions to match if.h structure. 1995-04-08 20:55:26 +00:00
briggs 426b77c9eb Put in a dummy PostEvent trap and enable ADB interrupts for IIci. From
Paul Goyette (paul@pgoyette.bdt.com).
I went ahead and removed the conditional around setting the ADB interrupt
enable.  I don't expect Apple will have changed this on any other models
as it's the same on all documented models.
1995-04-08 20:46:23 +00:00
briggs 7e4d7125a3 Back to previous version of the serial driver until we can figure out
why the new one gets a lot of overflows and doesn't work on the IIsi
or IIvx at all.
1995-04-08 13:20:52 +00:00
briggs 870235352d Print a diagnostic if we do hit the watchdog and recover w/o resetting. 1995-04-08 13:17:55 +00:00
briggs 8ca9890ea2 Actually set the vectors for RBV as well as VIA2.
Don't go to spl4 when we have an ADB interrupt.
Turn off video interrupts on the SE/30.
1995-04-08 13:16:33 +00:00
chopps 967e7d4f1d fix typo 1995-04-08 05:30:58 +00:00
gwr bcd63a2a47 minor cleanup 1995-04-08 04:46:59 +00:00
gwr f41996e453 Do the I-cache flush in the process switch asm code like other ports. 1995-04-08 04:45:43 +00:00
gwr cf2da3de32 Add some comments. 1995-04-08 04:43:44 +00:00
gwr cd79987a43 Fix CGTWO entry 1995-04-08 04:42:01 +00:00
gwr a1cc6d49c4 It works now. 1995-04-08 04:40:27 +00:00
fvdl 71f3e4d1f2 Add ep_sigcode and ep_esigcode fields to exec package structure. 1995-04-07 22:34:11 +00:00
fvdl 366ba9b889 Use sigcode fields in package structure. This seems to be the cleanest
way to deal with seperate trampoline code for emulation of other OSs,
it avoids having to clutter up kern_exec.c any further.
1995-04-07 22:33:23 +00:00
fvdl fb00b736fd Arch dependant defs for Linux. Just signal stackframe definition for now. 1995-04-07 22:31:19 +00:00
fvdl 46de9a804f Changes because of proper Linux signal stackframe building, and
seperate signal trampoline code. Ugly hack in trap.c no longer
needed.
1995-04-07 22:29:34 +00:00
mycroft 87d43afd46 Clean up to match common code, and fix a typo. 1995-04-07 22:27:42 +00:00
mycroft 99cd177c88 Add a common function to initialize ARP-related variables. `Insired'
by Garrett Wollman.
1995-04-07 22:26:04 +00:00
fvdl a3ff5bc0aa Add arch/i386/i386/linux_machdep.c 1995-04-07 22:25:41 +00:00
fvdl c37a9a26c6 syscalls.master was changed, so update these 1995-04-07 22:24:11 +00:00
fvdl 623f1e3986 Handle Linux signal tramp code differently. Some changes because of the
now seperate Linux signal trampoline code. Add linux_sigreturn to
syscalls.master.
1995-04-07 22:23:22 +00:00
mycroft 1b863c2eca if_start and if_watchdog should return void. 1995-04-07 22:20:24 +00:00
mycroft da0921a4a2 Set if_output in ether_ifattach(). 1995-04-07 22:19:29 +00:00
pk 8161907540 Add evcnt_attach(). 1995-04-07 19:46:13 +00:00
phil ce01c21e6d remove one "the" in a "the the". 1995-04-07 18:44:43 +00:00
mycroft 641dc38337 Require the denode to be locked before calling msdosfs_hashins(), rather than
inlining the rest of the code in reinsert().  (No functional changes.)  Also,
make sure that we don't print the (bogus) lock values when !DIAGNOSTIC.
Partly based on a patch from Mike Pritchard.
1995-04-07 17:37:08 +00:00
jtc ec2bda0f0b Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
current rounding mode is accurately reported.
1995-04-07 15:00:54 +00:00
jtc 80bba6a1e1 Added flt_rounds, fpget{round,mask,sticky}. 1995-04-07 14:57:16 +00:00
gwr d0d1dc8a4e Fix that probe sequence right this time. 1995-04-07 05:19:24 +00:00
gwr 8f584db874 Flush the cache when switching contexts (thanks to David Jones). 1995-04-07 04:46:41 +00:00
gwr e7f174fdcd Make sure curproc->p_addr is set before any faults occur.
Put msgbuf in page zero (so its location is predictable).
1995-04-07 04:44:55 +00:00