briggs
46a202fc6a
Fixes from PR #1931 w/ minor mod in vm_machdep.c
1996-01-12 04:16:25 +00:00
thorpej
43b4486bb3
Balance calls to disk_busy() and disk_unbusy() properly to avoid
...
dk_busy < 0 panics. Count seeks.
1996-01-12 00:19:29 +00:00
pk
f278cec042
Move bus_map() prototype here.
1996-01-11 21:55:57 +00:00
pk
9580abeba7
Should pass suitable arguments bus_map(); as noted by Chuck.
1996-01-11 21:54:03 +00:00
pk
7430f70694
Return `no error' after ejecting; per Jason.
1996-01-11 21:18:40 +00:00
briggs
39f642161a
Keep two states for pdma debugging. Turn debugging back on. Sigh.
1996-01-11 15:25:53 +00:00
briggs
631612b677
Move splzs to spl4 from splhigh. Really same difference...
1996-01-11 15:23:01 +00:00
pk
5035080586
Correct page frame calculation after mapdev() interface change.
1996-01-11 11:19:01 +00:00
jonathan
d51b06e19a
Add lots of debugging to the TurboChannel autoconfiguration code.
1996-01-11 05:59:23 +00:00
jonathan
28cf41d710
Change the order of members of struct confargs, to be closer to
...
the sys/dev/tcvar.h TurboChannel configuration structures. (the initializers
in sys/arch/pmax/tc were already changed; the structure definition wasn't,
which broke autoconfiguration.)
1996-01-11 05:57:04 +00:00
pk
94bb8db5ad
Add shutdownhooks().
1996-01-10 23:00:33 +00:00
thorpej
524cf97f54
Kludge around a case where a flaky HP-IB disk might be slow to respond
...
to the identification request in rdmatch(). Similar in spirit to a
patch from Jason Downs (written eons ago), but limited to the broken
device we're trying to reach. My patch tested (and fixed :-) by
Herb Peyerl.
1996-01-10 20:54:29 +00:00
thorpej
2e1c1680c5
Fix declaration of hilqfree(), from Daniel Hagerty <hag@wizardz.com>,
...
PR #1918 .
1996-01-10 20:31:12 +00:00
briggs
2a9c1229ec
Add some more first guesses at some machines.
1996-01-09 15:26:53 +00:00
briggs
1b99515858
Add #defines for some more machines.
1996-01-09 15:26:02 +00:00
leo
485b90b6f1
Fix the same typo in all files. Yanking is soooo beautiful....
1996-01-09 09:55:06 +00:00
thorpej
926f925088
Re-arrange slightly the si_options special case for the `sw'.
1996-01-09 02:36:58 +00:00
thorpej
3cb556defb
Disable DMA by default on the 4/100 `sw' controller. I've had a couple
...
of reports of data corruption, and would rather be slow and safe until
the DMA bug is fixed.
1996-01-09 02:06:50 +00:00
mycroft
8ee41dc35a
Make sure some registers are accessed in 16-bit mode.
1996-01-08 22:23:35 +00:00
mycroft
d74e9d43ab
Also reset %fs and %gs when delivering a signal.
1996-01-08 20:12:20 +00:00
mycroft
47e444bf50
Attempt to deal with wrap-around problems in 16-bit segments.
1996-01-08 19:11:00 +00:00
mycroft
7149c5ff14
VM86 support, by John Kohl, touched up a bit by me.
1996-01-08 13:51:30 +00:00
thorpej
f1d8ca699f
Oops, compile hpux_machdep.c if COMPAT_HPUX. Forgetfulness pointed
...
out by Dave Carrel.
1996-01-08 03:27:36 +00:00
leo
7ab5688547
Remove a stray MAXPARTITIONS definition.
1996-01-07 22:30:41 +00:00
leo
783817cc8b
Part of the tostools reorganization. All directories now contain a Makefile
...
and the user interface to the various tools has been standarized.
1996-01-07 22:05:31 +00:00
thorpej
5b39541e48
New generic disk framework. Highlights:
...
- New metrics handling. Metrics are now kept in the new
`struct disk'. Busy time is now stored as a timeval, and
transfer count in bytes.
- Storage for disklabels is now dynamically allocated, so that
the size of the disk structure is not machine-dependent.
- Several new functions for attaching and detaching disks, and
handling metrics calculation.
Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.
For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
leo
94bf233ae9
Atari partion table checker. Checks the validity of AHDI and/or NetBSD/Atari
...
partition tables. (Waldi Ravens)
1996-01-07 21:54:15 +00:00
leo
b24ea33cac
Common library for all tostools. (Waldi Ravens and myself)
1996-01-07 21:50:49 +00:00
mycroft
87a8c945ba
Hand-code softintr() to deal with GCC braindamage.
1996-01-07 21:48:35 +00:00
mycroft
ba1353b388
Stylistic changes.
1996-01-07 21:29:47 +00:00
leo
125fcfc979
These files can now be found in tostools.
1996-01-07 21:10:37 +00:00
leo
aadb005f6a
Reorganization of the stand-directory. All tools that are TOS specific and
...
can (probably) only be compiled under TOS are now being grouped in the
sub-directory 'tostools'.
1996-01-07 20:57:03 +00:00
christos
742cee29e5
Fix setcontext call and sendsig
1996-01-07 19:47:27 +00:00
jonathan
8472af018d
Update a kludge from 4.4bsd/pmax: DECstation PROMs force the clock to
...
be in 1972 or 1973. If the clock is set to the actual time, the PROM
appears to reset the chip date to 1972 at each reboot.
Change the "year offset" from 22 years to 24 years (good till 1997)
until this code is replaced with something that uses the chip as a
seconds-since-beginning-of-year clock (encoded as a date, relative to
1972-01-01 00:00:00).
1996-01-07 15:38:44 +00:00
mycroft
0696821419
Deal with GCC's dead code elimination being suboptimal.
1996-01-07 03:59:28 +00:00
mycroft
41f463bf2c
Modify splraise() to allow better optimization.
1996-01-07 02:40:44 +00:00
mycroft
946507cf4d
Make cpl, ipending, and astpending volatile.
1996-01-07 02:08:28 +00:00
mycroft
3afeb8d6b0
Make sure interrupts are disabled before jumping to a resume point, to prevent
...
races.
1996-01-07 02:07:07 +00:00
mycroft
f149f4f6f1
Make FPU faults use INTRFASTEXIT, and remove INTREXIT.
1996-01-07 02:04:31 +00:00
mycroft
9e6f4ae58a
Remove unused macros.
1996-01-07 02:03:20 +00:00
mycroft
19914b6e10
Build the frame for recursive interrupts manually, and make sure to disable
...
interrupts to avoid races.
1996-01-07 02:02:28 +00:00
mycroft
7f6d0eaf9b
Put #includes in the right order.
1996-01-07 02:00:31 +00:00
mycroft
96e91cd027
Don't save caller-saved registers.
1996-01-06 22:15:29 +00:00
leo
57a3b5b00c
Keep more debugging history (Paul Goyette). Synced with mac68k version.
1996-01-06 20:17:15 +00:00
leo
356a61ab95
Add an nvram-driver. This driver makes it possible to read/write the
...
configuration info stored in the nvram on the mc146818.
1996-01-06 20:10:41 +00:00
ragge
0c5975cdd3
Changed to work correctly with both K&R and ANSI cpp.
1996-01-06 18:37:35 +00:00
ragge
2defb2f857
Much improved in_cksum, VAX dependency written by Bertram Barth.
1996-01-06 16:50:55 +00:00
ragge
782e22bb8b
Device driver for TS11/TSV05 tape devices.
...
Written by Bertram Barth, based on TMSCP device driver.
1996-01-06 16:43:46 +00:00
briggs
f5269d0ff6
Fix from Paul Goyette for off-by-one error.
1996-01-06 15:56:12 +00:00
thorpej
d9bce7422e
Move the obviously machine-dependent HP-UX compat code to hpux_machdep.{c,h}.
...
A fair bit of this, the m68k core dump and exec goo, can probably be
made into a generic m68k hpux module, eventually.
More to be placed in hpux_machdep.c - keep your eyes peeled...
1996-01-06 12:44:06 +00:00