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
briggs
682c4ec08f
Bring in a few changes from Atari port.
...
Add support from Paul Goyette for keeping more than just the last 2
states when debugging.
1996-01-06 05:18:06 +00:00
pk
dd9e5c93c7
Use {U,L} suffices per Charles' recommendation.
1996-01-05 18:10:57 +00:00
jtc
2fce159ff8
Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
...
traditional usage.
1996-01-04 22:21:33 +00:00
thorpej
d35bd4bb23
Fix a typo that would bite if the interrupt level were wildcarded in the
...
kernel config file.
1996-01-04 00:20:19 +00:00
jonathan
22a5271164
Remove pmax/tc/tc.h; use dev/tc/tcvar.h instead.
1996-01-03 20:47:19 +00:00
jonathan
659c4a2ece
arch/pmax/tc -> dev/tc, pass 1:
...
Eliminate pmax/tc/tc.h. Use dev/tc headers for pmax port. Change pmax TC
autoconfig tables to use structs (mostly) compatible with dev/tc/tcvar.h.
Move TC console search to tc.c.
1996-01-03 20:39:10 +00:00
jonathan
1016f0c77a
Add dev/tc/asc.c to files.pmax, until the merger of Alpha and pmax TC drivers
...
s completed.
1996-01-03 20:33:25 +00:00
thorpej
90964d13db
Implement a suggestion from Charles; use a wrapper function before
...
leintr() to deal with das blinkenlights. Also squishes the need
for LEINTR_UNIT.
1996-01-02 21:56:21 +00:00
leo
c8574c59f7
Allow selection of Falcon (videl) video modes other than the mode selected
...
on startup (Thomas Gerner).
1996-01-02 20:59:20 +00:00
thorpej
7e01b868cc
It's safe to use <dev/ic/ncr5380*.h> now.
1996-01-01 22:51:26 +00:00
thorpej
e9d1c5366d
ncr5380sbc attribute is now defined in sys/conf/files.
1996-01-01 22:48:55 +00:00
thorpej
0e8ffc850f
"si" and "sw" actually interrupt at level 3 (which I quickly discovered
...
when porting the driver).
1996-01-01 22:46:08 +00:00
thorpej
33582e90e0
"si" and "sw" now have the ncr5380sbc attribute.
1996-01-01 22:44:05 +00:00
thorpej
6d6c652f18
New driver for the Sun SCSI-3 VME and 4/100-series SCSI "Weird" controllers,
...
utilizing David Jones' new MI NCR 5380 code. Ported from the sun3 ncr_si.c
and "sw" DMA code written by me.
This driver contains user-configurable "options", which can be set via the
"flags" directive in the kernel configuration file. By default, only
DMA is enabled. DMA completion interrupts and reselection may be enabled
by setting the appropriate bits with "flags". See si.c for details.
Note that DMA completion interrupts and reselection don't yet work on the
4/100 controller. I don't know why, and it's unlikely that I'll have
the opportunity to find out any time soon. DMA does work, and results
in a considerable performance increase.
DMA, DMA completion interrupts, and reslection all work on my 4/260 (VME)
system with modern SCSI-II disks.
1996-01-01 22:40:56 +00:00
thorpej
e7cf87f5dc
Add the last revision previous to the switch to the MI LANCE code of
...
hp300/dev/if_lereg.h to the standalone code; the standalone LANCE driver
for the hp300 needs it.
1996-01-01 18:10:54 +00:00
ragge
1dab4709a3
Changes requested by Charles Hannum.
1995-12-31 15:05:19 +00:00
ragge
d9c6db08da
Don't declare _mcount as static, gcc will optimize it away then.
1995-12-31 12:15:58 +00:00
thorpej
3319ad7b61
XXX TEMPORARY STOP-GAP MEASURE! A 12-bit command modifier was being
...
squished into an 8-bit position in a command stream! Which one is wrong?
Changed the constant from 0x140 to 0x40, which is what ended up happening
anyhow. This exists in the old Utah sources, too! How long has this
bug existed?!
1995-12-31 04:11:42 +00:00
chopps
5a1be463d3
explicitly mask the address value
1995-12-31 01:22:03 +00:00
thorpej
34c2680a5b
Re-work the serial console support a bit; it doesn't depend on statically
...
allocated softc's now.
1995-12-31 00:27:16 +00:00
ragge
d987547daf
An '&' missing in splx macro; causing that sometimes didn't
...
the interrupt level get set.
1995-12-30 21:37:31 +00:00
thorpej
f26be3a3d6
Fix something the switch to the MI LANCE code broke: use LE_TINT_HOOK
...
and LE_RINT_HOOK to blink the "LAN transmit" and "LAN receive" LEDs on
the front panels of 400-series machines iff the CPP symbol USELEDS is
defined in the kernel config file.
1995-12-30 21:03:02 +00:00
ragge
d714597971
Don't include de.h; it doesn't exist anymore.
1995-12-30 19:42:16 +00:00
thorpej
67c76ca15d
Print unconfigured card id and select code regardless of -DDEBUG.
1995-12-30 18:25:25 +00:00
mycroft
3a89082ff4
Make this work for GCC < 2.6.
1995-12-29 18:53:01 +00:00
thorpej
11c7d655d8
Correct some comments about 8-port DCM boards. (Thanks, Mike, for
...
pointing out the True Nature of The Force...)
1995-12-29 17:21:29 +00:00
thorpej
9ba67f2c93
Increase maxusers from 16 to 32.
1995-12-29 17:16:29 +00:00
thorpej
9038d094fa
Enable COMPAT_HPUX by default. It's still not 100% yet, but it doesn't
...
seem to really hurt anything, either. Makes it easier for folks using
binary snapshots only to try it out.
GENERIC: now that the PT map allocation is fixed, increase the default
maxusers to 32.
1995-12-29 17:12:48 +00:00
mellon
27f6298889
Obsoleted by sys/dev/tc/asc.c.
1995-12-29 03:49:15 +00:00
thorpej
17eb6e2bc1
Move the old-style disk instrumentation "structures" to a central location
...
(sys/kern/subr_disk.c) and note that they should/will be deperecated.
1995-12-28 19:16:31 +00:00
jonathan
df51f8395d
Change MachEmulateBranch() to be able to read an insn from user space.
...
Kernel-debugger breakpoints in user space, or FP insns that cause
underflow in a delay slot, should now work properly. Single-stepping
of arbitrary user processes, from user level, should be added.
1995-12-28 16:22:41 +00:00
jonathan
f10a0c8931
Config file used to build pmax kernels in NetBSD/1.1
...
miniroots, from Arne Juul (arnej@pvv.unit.no ).
(like NEWCONF, except with options GENERIC)
1995-12-28 16:11:31 +00:00
jonathan
7d4de44572
Fix typo (two rz4s, no rz5) and add options KTRACE.
1995-12-28 16:08:20 +00:00
perry
74e1e47aeb
fixed my own pr 1758 -- the floppy drive motor was not being turned off
...
at halt time, especially if a floppy was mounted. Added a shutdown hook
to turn off the motor. Per a request by mycroft, the cookie from the hook
is saved in a new member I added to the fd_softc structure.
1995-12-28 15:48:57 +00:00
ragge
7c65ab14a0
Create libkern as a .a instead of a .o file.
1995-12-28 15:27:21 +00:00
jonathan
a47c251d62
Use machine-independent TurboChannel include files from dev/tc.
...
Add machine-dependent TC definitions in pmax/include/tc_machdep.h.
1995-12-28 08:42:15 +00:00
jonathan
497e83e28c
Add untested, partial support for Decsystem 5100 (mipsfair).
1995-12-28 06:44:57 +00:00
jonathan
7e98ecaca9
*** empty log message ***
1995-12-28 06:41:07 +00:00
chopps
4bf7b86bd1
rename grf_ul.gsp
1995-12-27 16:54:37 +00:00
chopps
d1d2589f0f
remove -fno-builtin (pr#1727) from Bernd Ernesti
1995-12-27 08:22:54 +00:00
chopps
7286a43eb4
cleanup for -Wall (pr#1559) from Ignatios Souvatzis
1995-12-27 08:09:51 +00:00
chopps
fd9084650c
make changed from pr#1824 from Ignatios Souvatzis
1995-12-27 07:51:40 +00:00
chopps
ff82249d85
add vnd (pr#1744) from Robert Leland
1995-12-27 07:40:08 +00:00
chopps
38d473982a
fixup the table (pr#980) from Ignatios Souvatzis
1995-12-27 07:31:58 +00:00
chopps
7ecc586ed0
add support for GRFIOCBLANK (pr#1810) from Ignatios Souvatzis
1995-12-27 07:24:27 +00:00
chopps
05ab6375cc
fix initializtion (pr#1853) from Ignatios Souvatzis
1995-12-27 07:21:07 +00:00
chopps
dafae56a80
fix for newer boards (pr#1829) from Matthias Scheler
1995-12-27 07:15:53 +00:00
chopps
f7ea355074
remove uneeded routines (pr#1837) from Bernd Ernesti
1995-12-27 07:09:37 +00:00
mycroft
883fb8f0ca
Copy md_flags during fork.
1995-12-26 16:59:47 +00:00
mycroft
cd8fe86bcb
Make the type of __builtin_va_list a long.
1995-12-26 01:16:24 +00:00
mycroft
0c00214737
Use __builtin_va_alist.
1995-12-26 00:19:09 +00:00
mycroft
c098d54e0a
Stylistic changes.
1995-12-26 00:15:47 +00:00
mycroft
fa887628d8
Stylistic changes.
1995-12-25 23:15:31 +00:00
mycroft
72e24c3168
Update for GCC 2.7, and fix bugs.
1995-12-25 22:24:54 +00:00
mycroft
d1de691efb
Stylistic changes.
1995-12-25 22:22:02 +00:00
mycroft
0199e002ad
Update for GCC 2.7, and fix bugs.
1995-12-25 21:41:08 +00:00
leo
b46db7160c
- Remove an unwanted interference between the 2 channels.
...
- Allocate the ringbuffer on a channel's first open.
1995-12-25 14:16:50 +00:00
leo
608b4cc605
Fix possible integer overflow when allocating PT map.
1995-12-25 14:13:53 +00:00
leo
7682dd538b
Add doshutdownhooks
1995-12-25 14:09:13 +00:00
neil
c93761e267
Added ccd pseudo device.
1995-12-24 18:00:29 +00:00
mycroft
3da4b2a160
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
...
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
mycroft
1ca89b7f91
Enable paging of the user area.
1995-12-24 01:07:32 +00:00
neil
6d9d4bb77a
Added ccd pseudo-device.
1995-12-24 00:22:20 +00:00
perry
765bb97fe9
fix my own pr 1762, in which it was noted that boot2 used a busy loop
...
to time out the boot prompt. Now uses a usleep() routine that calls
the BIOS and the functionality is separate from gets(). Timeout is
#defined to 5 seconds. Also did some minor cleanup in preparation to
prototype/ANSIfy everything.
1995-12-23 17:21:23 +00:00
jonathan
6bef38210e
Re-apply fix from before the NetBSD/1.1 version: actually write the pointer
...
to the LANCE's dma region into the IO ASIC after computing it.
1995-12-22 12:52:09 +00:00
jonathan
339aa91097
Update the old (4.4bsd/pmax) miniroot build scripts to put mount_ffs
...
on a miniroot, until the new miniroot tools work on a pmax.
1995-12-22 08:08:14 +00:00
jonathan
2852152043
Reserve a number in the machine-dependent range for PT_STEP, in
...
case the kernel-debugger implementation of single-stepping ever works
with user code.
1995-12-21 09:28:36 +00:00
mycroft
ce000f04ef
Remove deprecated cpu_setstack().
1995-12-21 05:01:32 +00:00
mycroft
d2e4a2de4b
Minor cleanup.
1995-12-21 01:08:59 +00:00
mycroft
6698d239ca
Use the U suffix to insure unsigned values are treated as such.
1995-12-20 23:30:57 +00:00
mycroft
e28d5e9168
Use #pragma only for 2.0 <= GCC < 2.7.
1995-12-20 18:09:24 +00:00
mycroft
e09cc4cf9d
Use alternate structure packing method added in GCC 2.7.
1995-12-20 17:58:55 +00:00
mycroft
dab27d0c21
Use explicit integer sizes. Adjust constraints for GCC 2.7.2.
1995-12-20 07:53:09 +00:00
jonathan
c0f958f6be
Add support for ptrace PT_GETREGS and PT_SETREGS for NetBSD/pmax:
...
* define PT_GETREGS and PT_SETREGS in pmax/include/ptrace.h
* Flesh out the stubs in pmax/pmax/process_machdep.c to handle
those requests.
* Now that "struct reg" is actually used, remove the bogus
#ifdef LANGUAGE_C around its definition, and redo pmax/include/reg.h
so that the definitions needed by locore.S are in a separate file,
pmax/include/regnum.h.
* update locore.S to match.
1995-12-20 02:00:23 +00:00
cgd
a5c7435308
update for new turbochannel configuration code.
1995-12-20 00:43:20 +00:00
cgd
ec7644f74f
update to include most of pk's changes to the sparc esp driver.
...
rework TC configuration code.
1995-12-20 00:40:21 +00:00
cgd
cc162e7d82
deal with renaming of asic to ioasic, and other new-tc-config changes
1995-12-20 00:38:53 +00:00
cgd
9e66508169
IO bus for 3000-family boxes is now "tcasic" when then attaches tc.
...
esp_iomem is unnecessary, has been unnecessary for a while,
apparently.
1995-12-20 00:19:49 +00:00
cgd
e3e60a4d81
if subdevice not configured, print something out about it.
1995-12-20 00:18:50 +00:00
cgd
2db5c9e1ef
deal with ufs -> ffs transition.
1995-12-20 00:17:49 +00:00
cgd
d94de79005
rename TC 'asic' to 'ioasic'
1995-12-20 00:14:10 +00:00
cgd
175729032f
rename these more appropriately
1995-12-20 00:12:52 +00:00
cgd
c87e761abf
these have been renamed
1995-12-20 00:11:15 +00:00
cgd
1ebd4658b5
these are going to be made machine-independent
1995-12-20 00:10:40 +00:00
cgd
17f70e1910
portability definitions for machine-independent TC configuration code.
1995-12-20 00:09:29 +00:00
cgd
b206d2fe18
move DELAY's functionality into delay()
1995-12-20 00:08:43 +00:00
pk
644c68a706
Towards machine independency, per cgd: macros to access hardware registers.
1995-12-18 23:58:31 +00:00
leo
ea5c7dd80d
Oops, forgot to change one fixed address into a define.
1995-12-18 20:40:59 +00:00
leo
1e5442c0ba
Fixes for devices that don't support linked commands. (Paul Goyette)
1995-12-18 20:37:51 +00:00
briggs
0a1c6c4827
The IIci also needs an sccClkConst of 115200 instead of 122400.
1995-12-18 14:38:02 +00:00
jonathan
d7d2ba5ac3
Fix cross-compilation bug: native architecture is "pmax", not "mips".
1995-12-17 09:09:42 +00:00
jonathan
ea863ea59f
Remove LENITR_UNIT and supporting code that allowed passing a unit
...
number, instead of a softc pointer, to leintr(). Pmaxes don't need it anymore.
1995-12-17 04:46:00 +00:00
leo
64f1b42bb4
Correct PCLK value.
1995-12-16 21:45:31 +00:00
leo
987f8774c3
Make an NMI activate the debugger. This only works on a TT and needs a small
...
hardware patch. This makes it easier to debug drivers that hang on an ipl
> splsoft.
1995-12-16 21:40:28 +00:00
ragge
341c12ff46
Generation of old config structs for de/qe cards removed.
1995-12-16 15:05:03 +00:00
jonathan
00b821d6c2
Change mips __warn_references() macro to use the ELF warning features
...
in binutils 2.6 and (patched) gcc 2.7.2. Only works with gcc in ANSI C
mode, for now.
1995-12-15 01:17:04 +00:00
ghudson
132f58bfc5
Call doshutdownhooks() before asking for a halt keypress.
1995-12-14 18:31:20 +00:00
jonathan
28db87de35
Change pixel type from u_long to u_int32_t, to match rcons.
1995-12-14 16:27:33 +00:00
tls
9ddf72180a
add 3C590 support to all generic and install kernels
1995-12-14 01:09:59 +00:00
pk
b7feb4a35e
Enable interrupts; some ROM versions apparently turn them off.
1995-12-13 23:35:18 +00:00
ragge
e7aba578d3
MicroVAX III support added.
...
Dummy match/attach routines for tmscp.
Conversion of uda.c towards new config.
1995-12-13 19:02:47 +00:00
ragge
56ad9078eb
MicroVAX III support added.
1995-12-13 18:57:57 +00:00
ragge
cf6e6c6ed4
waitabit() macro removed.
1995-12-13 18:56:01 +00:00
ragge
6ab4fc540f
Prevent against multiple includes.
1995-12-13 18:55:27 +00:00
ragge
dc9996e83e
A complete SCB struct included.
1995-12-13 18:54:56 +00:00
ragge
4f22cd5a71
Type change: u_int hoppaddr to void (*hoppaddr)();
1995-12-13 18:54:03 +00:00
ragge
902fd4cddf
PG_SHIFT -> PGSHIFT.
1995-12-13 18:53:15 +00:00
ragge
3307a6f67a
CPU dependent code moved out of cpu independent modules.
1995-12-13 18:50:11 +00:00
ragge
b7d05bc287
u_int -> pt_entry_t.
1995-12-13 18:47:59 +00:00
ragge
2962c5f6d6
MicroVAX III support added; now runs on VAX 3600/3800/3900 platforms.
1995-12-13 18:45:52 +00:00
briggs
486bcce207
Remove printf() that I forgot about.
1995-12-13 14:30:29 +00:00
briggs
405ac4248f
Fix from Paul Goyette to disable linked commands on drives that
...
reject them for simple commands. Leo W. reports that this does
not work for some systems. It's better than what we have now,
though. From Paul Goyette <paul@pgoyette.bdt.com>.
1995-12-13 03:48:07 +00:00
briggs
4b2a9a582d
Update from Bill Studenmund <wrstuden@loki.stanford.edu> with some minor
...
cleanup from me. Now supports serial console.
1995-12-13 03:09:57 +00:00
briggs
37b09a913d
Double ring limits from Bill Studenmund <wrstuden@loki.stanford.edu>.
1995-12-13 03:08:12 +00:00
ragge
a5c9872c60
Unneccessary.
1995-12-12 15:40:04 +00:00
cgd
0585b39d85
use pcvt, with PCVT_NSCREENS=1 and PCVT_24LINESDEF.
1995-12-12 01:52:39 +00:00
thorpej
1094eb5008
Oops ... missed this file in the last round of device changes.
1995-12-11 19:41:47 +00:00
thorpej
540dfebf15
Rather than using individual HP300 model names, map those model names to
...
properties such as "M68040" and "M68K_MMU_MOTOROLA", used to conditionally
compile code. This is more in-line with now the other m68k ports do it,
and makes it much easier to find "common ground" among them.
In locore.s, use the MMU-type constants defined my <machine/cpu.h> rather
than "expanded" values.
Because HP300-model names are mapped to CPU/MMU combinations in
<machine/cpu.h>, no change to kernel configuration will be necessary.
1995-12-11 17:09:09 +00:00
pk
524718f597
Adapt to changed mapiodev() interface.
1995-12-11 12:45:16 +00:00
pk
d2ae46d04e
Agree with prototype.
1995-12-11 12:44:39 +00:00
pk
0d1981416d
Adapt to changed mapiodev() interface.
1995-12-11 12:43:14 +00:00
pk
f840d96cfe
Adapt to changed mapiodev() interface.
...
Use new DVMA routines.
1995-12-11 12:40:20 +00:00
pk
8f162e4e25
mapdev() now takes a `struct rom_reg' argument to get access to `iospace'.
1995-12-11 12:34:36 +00:00
pk
2b7034a493
The return of dvma_malloc/dvma_free in a different shape.
1995-12-11 12:32:56 +00:00
pk
528ea56588
Change mapdev() and mapiodev() to take a `struct rom_reg', enabling the use
...
of IO spaces to construct device mappings.
1995-12-11 12:31:02 +00:00
pk
51c8280df1
Prototype dvma helper functions `dvma_malloc()/dvma_free()'
1995-12-11 12:25:17 +00:00
thorpej
de6dad9228
Move bcopy/ovbcopy/memcpy into m68/m68k/copy.s, which is used by all
...
m68k ports already anyhow. No use in keeping 6 identical copies of this
function around.
1995-12-11 02:37:55 +00:00
mycroft
0267460c6c
Use the MI LANCE code.
1995-12-11 01:59:17 +00:00
pk
5c50eeb245
Prevent possible race condition in ctx_alloc().
...
Remove some bogus casts.
1995-12-11 01:27:28 +00:00
pk
7987c7fce9
Use `def_width' and `def_height' as default values when getting rom properties.
1995-12-10 22:55:32 +00:00
leo
8dff161947
Make sure that the motor will be turned off when a floppy is inserted.
1995-12-10 14:25:12 +00:00
mycroft
494a9b9eb9
Use the MI LANCE code.
1995-12-10 10:15:06 +00:00
mycroft
9ca6a401eb
Use the MI LANCE code.
1995-12-10 08:46:05 +00:00
mycroft
46366f34e7
Include vm.h, rather than guessing which files we need.
1995-12-10 06:50:58 +00:00
mycroft
7877aa6eb5
Use the MI LANCE code.
1995-12-10 00:49:33 +00:00
thorpej
b1c7779d0a
Prevent the msgbuf from getting trashed across reboots by moving avail_end
...
back one page.
1995-12-09 07:54:19 +00:00
mycroft
3a0fa6f8ee
NISA --> NISADMA, per Neil McRae.
1995-12-09 07:39:02 +00:00
thorpej
862bb3adc1
Pass the correct number of arguments to readdisklabel().
1995-12-09 07:31:03 +00:00
mycroft
498f9ca1e7
Include /dev/io as one of the `kmem' devices.
1995-12-09 05:53:00 +00:00
mycroft
76813521bb
Return 0 in the child, not the parent pid.
1995-12-09 05:00:27 +00:00
mycroft
292120bf63
Define __FORK_BRAINDAMAGE.
1995-12-09 04:41:41 +00:00
mycroft
0e0ac5ed68
cpu_fork() now returns void.
1995-12-09 04:37:23 +00:00
pk
5c482e804d
Don't forget to flush the cache in vunmapbuf().
1995-12-07 22:18:54 +00:00
phil
c13dbbd1b4
Update the To.Do list.
1995-12-07 07:55:11 +00:00
pk
480398f38e
dvma_malloc => malloc/dvma_mapin. (not the most elegant solution, but it'll
...
have to do for now).
1995-12-06 22:40:22 +00:00
pk
f6a3272e25
DVMA space is described by the variables `dvma_start' and `dvma_end'.
...
Prototype dvma_map*() routines.
1995-12-06 22:35:54 +00:00
pk
7299c7a6c0
Have v[un]mapbuf() allocate from plain kernel map instead of dvma space.
...
Remove dvma_malloc/dvma_free; drivers should allocate kernel memory and
use dvma_mapin/dvma_mapout to double map it in DVMA space.
Make the resource map `dvmamap' responsible for all DVMA allocation.
The VM map `physmap' only serves the role of placeholder in the VM system.
1995-12-06 22:33:49 +00:00
thorpej
87206673fb
Keymap for the Swedish HIL keyboard, from Tomas Tengling <ltt@cd.chalmers.se>.
1995-12-06 22:13:23 +00:00
pk
210b4d80ec
Make pmap_prefer() also return a preferred virtual address when there's no
...
associated physical page.
1995-12-05 23:01:39 +00:00
thorpej
9c784e07c1
Fix the integer overflow problem in pmap_init() when the user PT map is
...
allocated, as noticed by Chuck Cranor. In addition to re-arranging
the assignment as suggested by Niklas Hallqvist, check to see if maxproc
is higher than the number of available user PTs. If it is, lower maxproc
to that value, the rationale being that it's much more desirable to have
fork() return EAGAIN than to have your system wedge.
XXX note that root can still raise maxproc with sysctl(2) later. It's
probably worth having further discussion about this issue, but until
everyone has time to think about it, this seems like an acceptable solution
for the time being.
1995-12-05 20:01:54 +00:00
ragge
31f199d4e6
Added earlier forgotten MACHINE_ARCH, pointed out by Arne Henrik Juul.
...
Cleaned up a bit.
1995-12-04 22:32:53 +00:00
briggs
76b94759a1
Fix from Paul Goyette (paul@pgoyette.bdt.com) for drives that don't grok
...
linked commands.
1995-12-04 02:10:44 +00:00
leo
fc587cf917
Something forgotten in the namespace changes.
1995-12-03 14:34:24 +00:00