Commit Graph

6804 Commits

Author SHA1 Message Date
mycroft
1b3587f158 Minor changes to match hp300 version. 1995-04-10 04:17:12 +00:00
mycroft
0f894dcdc4 Update to match hp300 port. 1995-04-10 04:02:53 +00:00
mycroft
28978ed078 v_cmap --> vmmap 1995-04-10 03:54:27 +00:00
mycroft
ea5470b091 Partially update to match conf.h. 1995-04-10 03:36:17 +00:00
mycroft
3f22df0746 Declare all return types. 1995-04-10 01:56:41 +00:00
mycroft
21993f8246 Add dummy mmopen() and mmclose(); change mmmap() to mmmmap(). 1995-04-10 01:55:57 +00:00
mycroft
3d4e73333d Update to match conf.h. 1995-04-10 01:54:00 +00:00
mycroft
0b734c8881 Minor stylistic changes. 1995-04-10 01:26:43 +00:00
mycroft
a9e1bbb0c7 Add no-op open and close functions. 1995-04-10 01:23:19 +00:00
mycroft
9c41e0f2f2 Most of the console functions return void. 1995-04-10 01:07:16 +00:00
mycroft
95c5c4f79f Most of the console functions return void. Also change interrupt logic
slightly.
1995-04-10 01:05:55 +00:00
mycroft
374185caff Most of the console functions return void. 1995-04-10 01:01:40 +00:00
mycroft
0ed4893351 mmmap --> mmmmap 1995-04-10 00:59:33 +00:00
mycroft
5ca64d4b70 hilmap --> hilmmap 1995-04-10 00:58:36 +00:00
mycroft
0323181eb1 Switch grfmap and grfmmap. 1995-04-10 00:58:10 +00:00
mycroft
1b8aff7880 map --> mmap 1995-04-10 00:55:57 +00:00
mycroft
84de5b1135 Update to make con[fs].h. 1995-04-10 00:50:50 +00:00
mycroft
affcd0e2c8 Properly prototype the switch table functions. Add conf.h-like macros for
defining the switch tables.
1995-04-10 00:50:27 +00:00
mycroft
99005388fd Return EOF for old vnodes of tty devices, rather than EIO. 1995-04-10 00:48:46 +00:00
mycroft
7f3a305b34 Use the new d_type field. Set VISTTY for vnodes of tty devices. 1995-04-10 00:48:10 +00:00
mycroft
04a0a9a518 Use the new d_type field. 1995-04-10 00:46:51 +00:00
mycroft
f4d66d9b37 Add a device type to the switch tables. Move the [bc]dev_{decl,*_init}()
macros into here, so they only need to be defined in one place.
1995-04-10 00:46:11 +00:00
mycroft
2f30839b62 Remove now unneeded #ifdef. Prototype new function. 1995-04-10 00:06:54 +00:00
mycroft
4b5c13c2c7 Shift the bit positions. 1995-04-09 23:29:22 +00:00
mycroft
e957423a98 Move fp_except and fp_rnd definitions to machine/include. 1995-04-09 21:31:58 +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
gwr
f0dfc32ae9 Sync with net/if.h changes 1995-04-09 05:08:33 +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
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
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
gwr
9a714f87a8 Use vmempage for /dev/mem like other ports. 1995-04-07 04:44:26 +00:00
gwr
e1b1e78d15 Allocate vmempage here (for use by /dev/mem). 1995-04-07 04:44:05 +00:00
gwr
d047cd4b9c Announce unexpected interrupts once for each level. 1995-04-07 04:43:25 +00:00
gwr
88f350e128 Make sure we do not enable clock interrupts too early. 1995-04-07 04:30:13 +00:00
gwr
4a3ad0819d Look out for null curproc->p_addr which caused a "Watchdog Reset!"
when the recursive faults overflowed the stack.  (from David Jones)
1995-04-07 03:12:51 +00:00
gwr
e5a537ade9 Fix to make "root on sd2a" work (from David Jones) 1995-04-07 03:02:36 +00:00
gwr
65725c0bce Add cgtwo 1995-04-07 02:58:49 +00:00
gwr
522e7f03d7 First cut at cgtwo driver. Not quite right yet. 1995-04-07 02:54:43 +00:00
gwr
0af73b6fc3 Changed fb_attach() interface 1995-04-07 02:51:21 +00:00
gwr
19c01b5c67 Corrected fbtype->fb_size (which x11r6 is picky about...) 1995-04-07 02:47:40 +00:00
gwr
637b45dbf2 Changed fb_attach() interface, hack probe to avoid impossible matches.
Corrected fbtype->fb_size (which x11r6 is picky about...)
1995-04-07 02:43:25 +00:00
gwr
d49502cfa2 Changed fb_attach() interface 1995-04-07 02:37:18 +00:00
gwr
1feb639a38 First cut at cgtwo driver. Not quite right yet. 1995-04-07 02:31:45 +00:00
gwr
63052ecc6e Add cgtwo 1995-04-07 02:23:03 +00:00
gwr
3de4f27e67 Yet more SYMTAB_SPACE 1995-04-07 02:18:39 +00:00
jtc
7a5da7fda2 Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
current rounding mode is accurately reported.
1995-04-07 00:44:37 +00:00
leo
8dc1468412 NetBSD/Atari, port by Leo Weppelman. 1995-04-06 21:04:54 +00:00
chopps
e688ef2f10 say something more for unconfigured devices 1995-04-06 19:45:00 +00:00
chopps
dac345e605 add new option to enable faster (and on some boards non-working) scroll
code for retina grahpics cards.
1995-04-06 19:24:47 +00:00
chopps
79bf8f86dd made current retina vertical scroll code conditional on the new
option RETINA_SPEED_HACK.  Old commented code has been resurected.
This reportedly fixes the smear problems some retinas have.
John Vrolijk <dsnjvro@etmsun.etm.ericsson.se> noticed this.
1995-04-06 19:19:45 +00:00
mycroft
6f131301b0 Make OSI and X.25 work on little-endian machines. 1995-04-05 21:38:50 +00:00
mycroft
bb85930bbe Add missing argument to closef(). 1995-04-05 21:26:40 +00:00
leo
e5d720f534 Fixed up chr to blk translations. 1995-04-05 06:31:33 +00:00
mycroft
3836533fc6 Add another broken CD-ROM drive to The List. 1995-04-04 05:44:32 +00:00
mycroft
cd50457f15 Fix conversion of type' and whence' values in struct flock. 1995-04-04 04:21:30 +00:00
mycroft
0e67f2a78e Rename a few constants to match the chip documentation. 1995-04-04 01:59:28 +00:00
mycroft
13ac06ec6a More debugging printf()s, from Rafal Boni. 1995-04-04 01:44:23 +00:00
gwr
aa197980e8 Use new core file format in cpu_coredump() 1995-04-03 22:06:11 +00:00
gwr
69aa4da3cf Add FDESC FIFO NULLFS UNION file systems. 1995-04-03 22:03:38 +00:00
mycroft
c04ae31e95 Prototype iexmit(). 1995-04-03 21:22:37 +00:00
mycroft
9085715229 Some pseudo-random cleanup, and try to start transmitting packets quicker. 1995-04-03 21:17:13 +00:00
mellon
23023327a2 Move cpu-specific exec support to cpu_exec.c; Support 4.4BSD a.out 1995-04-03 04:38:04 +00:00
chopps
85bd6c5e30 cleanup SG4_, fix magnum interrupts, gvp hack for ziii, new gvp configs, 4066
4066 interrupt fix, add baudrate gen and don't clear other port lines for mfc
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-04-02 20:38:09 +00:00
mycroft
47ba263ebe Emulate SCO behaviour when both FREAD and FWRITE are set, but only for SCO
executables.
1995-04-02 19:27:48 +00:00
pk
1dd6d8a8dd Fix TCGETA compat, from Matthew Green.
SunOS `setaudioinfo' does implicit `getaudioinfo'.
Recognise streams flush/setsig ioctls.
1995-04-02 10:43:29 +00:00
mycroft
7e2dabf972 Add a missing unlock. 1995-04-01 10:29:41 +00:00
mycroft
508897dfcc Insert a missing unlock. 1995-04-01 10:27:56 +00:00
mycroft
03e3548ec7 Change the locking protocol to match other drivers. 1995-04-01 08:45:33 +00:00
mycroft
5ef3b8b957 Always load the TOC. Turn off the TOC bit in the mode register so the busy
light goes off.
1995-04-01 08:40:11 +00:00
mycroft
0a2cdb6d61 Fix bogus buffer indexing when a value is split across a mbuf boundary,
as suggested by Greg Ansley.  Also, redefine MINDEX() slightly to avoid
duplicating code.
1995-04-01 03:04:49 +00:00
mycroft
25b58554cb Update. 1995-03-31 18:27:30 +00:00
christos
5ee5b100d3 Added TIOCGSID for COMPAT_SVR4 [get session id] 1995-03-31 03:10:15 +00:00
christos
c8afb5deaf Syscalls.master was changed 1995-03-31 03:08:25 +00:00