mycroft
ae11bd216c
Remove historical garbage.
1995-05-01 08:14:25 +00:00
mycroft
17dd9534bf
Update to match include files. Eliminate _ucodesel, _udatasel, and IdlePTD.
1995-05-01 08:06:22 +00:00
mycroft
5a7e987371
Make md_regs a pointer to a trapframe.
1995-05-01 07:56:20 +00:00
mycroft
f32276958e
Use segments.h, and some other cleanup.
1995-05-01 07:55:21 +00:00
mycroft
33e0286648
Remove PCB_SAVEFPU.
1995-05-01 07:55:04 +00:00
mycroft
8b51849f9d
Make this includable from locore. Remove unused GDT and LDT slots.
1995-05-01 07:37:43 +00:00
mycroft
c2e46efab2
Rename ibcs2_sigflags to __spare, but leave the space for now.
1995-05-01 04:53:24 +00:00
mycroft
7688f4456e
Remove usages of ibcs_sigflags.
1995-05-01 04:50:28 +00:00
mycroft
92e9818c88
Expose idt[] here.
1995-05-01 04:49:51 +00:00
mycroft
b8d3de2758
Add pcb_cr0.
1995-05-01 04:49:28 +00:00
mycroft
17a5f987ba
Be more aggressive about lazy saving and initialization.
1995-05-01 04:47:43 +00:00
mycroft
f55c4a0a19
Another trivial optimization.
1995-05-01 01:24:04 +00:00
briggs
34e5f975f9
Don't set mrg vectors if we're using the serial console--this allows
...
machines w/ non-working desktop bus to actually get on with booting.
1995-04-30 17:01:06 +00:00
leo
58cd4c0a1d
Get 68040 defines in line with other 68k ports so libkvm/kvm_m68k.c compiles
...
cleanly.
1995-04-30 14:02:12 +00:00
leo
f677a89489
Small changes in dma locking code.
1995-04-30 12:06:01 +00:00
leo
12c60f7bc0
Complete rewrite, made necessary because Falcon SCSI needs to share
...
NCR5380 and DMA access with floppy.
1995-04-30 12:04:48 +00:00
leo
e95337c226
Added lock status bits, update function prototypes.
1995-04-30 12:02:03 +00:00
leo
fb4939eddf
Moved softint definitions still in cpu.h into mtpr.h and did some minor
...
cleanups.
1995-04-30 12:00:31 +00:00
leo
8996e3866b
- Move softint definitions to mtpr.h
...
- Add flags for TT/Falcon model for machineid, we definitely need them
1995-04-30 11:56:22 +00:00
cgd
4d059559f7
resurrect, and move files.pmax.newconf to new location.
1995-04-30 10:11:00 +00:00
cgd
9b7c37148b
new-config files list. missed this yesterday.
1995-04-30 02:44:44 +00:00
jonathan
fb9f07db36
Update MIPS stack backtrace code to trace through locore functions,
...
traps, and interrupts The earlier (4.4bsd) code didn't do the first two, and
got the last one wrong. Also print some functions (e.g., trap handlers)
by name. Add hook to use something other than printf() as the output
function, e.g,. for kernel debugging.
Tested with the `native' toolset, but not ELF format kernels.
(i.e., unwinding the $GP register is not tested.)
The stack backtrace code that interprets and unwinds stackframes is still
opaque and stylistically awkward.
1995-04-29 21:10:31 +00:00
briggs
59b4da2b39
Add new nubus handling that's much more robust.
...
Update via, if_ae, and grf accordingly.
Revamp grf.
1995-04-29 20:23:36 +00:00
cgd
7cc5a0ed42
make FLT_ROUNDS call __flt_rounds, so dynamic rounding mode is grabbed.
1995-04-29 05:45:44 +00:00
cgd
c075955b09
kill historical cruft
1995-04-29 01:56:59 +00:00
cgd
18d9d7e5ef
first cut of the alpha version.
1995-04-29 01:09:17 +00:00
jonathan
f54398dae4
Add prototype (new-style) config for pmax. This doesn't yet work;
...
auto-configuration initialization code is missing. It uses "needs-count"
flags to come slightly close to what the old-style pmax source expects.
Perhaps autoconfig code can be lifted from the alpha port or volunteers
found to write some.
1995-04-28 23:34:39 +00:00
jonathan
b2c7420e5a
Fix performance bug in pmax MachFlushDCache(). Old code disabled icache
...
and wasn't unrolled. This code runs cached and unrolled, giving an order
of magnitude improvement in some cases (e.g., DMA-capable network devices).
In use at Stanford DSG since late January 1995.
1995-04-28 23:17:51 +00:00
christos
0cd2332f66
sigcode is svr4_sigcode
1995-04-28 23:11:37 +00:00
jonathan
026a077a5d
Check in source code actually containing changes in previous log message--
...
fixes to turbochannel-based DECstation interrupt enabling.
(I hate network firewalls that break rsh and remote CVS.)
1995-04-28 22:50:29 +00:00
jtc
ac3b1189c1
ns32k specific portions of ieeefp.h (fp_rnd, fp_except, constants, etc.).
1995-04-28 22:01:25 +00:00
jtc
7fea99983f
Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
...
current rounding mode is accurately reported.
1995-04-28 21:58:57 +00:00
jonathan
523e8bccbc
Fix hardware interrupt-mask setup in the 5k/240 (3max)+ interrupt handler.
...
(A similar fix needs to be applied to the 3min and xine handlers.
This fixes a long-standing problem when booting with a card that
wants to interrupt (e.g., a network interface) would have interrupts
enabled before a handler was set up.
Add interrupt-counting code to model-independent interrupt handler,
and 3max (5k/200) and 3max+ (5k/240) md handlers, for vmstat -i.
Similar changes for 3min and xine are obvious but not done.
Add code for 5k/240 to read, and latch, the current value of the
IOASIC bus-cycle counter at each timer interrupt. The latched
counter is needed to accurately interpolate the bus-cycle counter value
as a high-resolution clock.
1995-04-28 21:48:11 +00:00
leo
9dde470095
- Remove cpuspeed
...
- Remove dead code (stmem_steal())
- Use round_page() on st_pool_size before using. This prevents crashes
when it is 'binpatched' with a value that is not a multiple of the
page size.
1995-04-28 11:41:53 +00:00
leo
d3056f9136
CD-ROM drives added.
1995-04-28 11:36:33 +00:00
leo
cd29a7f291
Better way to select a display mode?
1995-04-28 11:34:33 +00:00
leo
d3bb44e8f2
Made no_ttram_dma patchable instead of a define.
1995-04-28 11:33:01 +00:00
cgd
0e59975fac
rename files files for new config/config.old naming
1995-04-28 08:19:12 +00:00
jonathan
07992ead4b
Add memory-mapped address of the IO ASIC TurboChannel bus-cycle counter,
...
as present on 5k/2xx and Alpha IOASICs. Older machines may or may not
have the hardware counter. To be used as a high-resolution DECstation clock.
1995-04-28 04:44:21 +00:00
jonathan
ef8023a47b
Check in changes suggested by Ralph Campbell: update variable names
...
to use turbochannel slot numbers, add a couple of extra slots, just
in case.
1995-04-28 03:10:41 +00:00
mellon
59f33bea48
Add sfb device driver
1995-04-27 20:52:39 +00:00
leo
ecec677e0c
Removed cpuspeed
1995-04-27 20:34:13 +00:00
mycroft
a9313f09e4
Speed up handling of short and/or misaligned mbufs significantly. No change
...
in the `normal' cases.
1995-04-27 17:18:22 +00:00
pk
1138c9d047
Handle KIOC[GS]LED ioctls; from Lon Willett.
1995-04-27 14:27:11 +00:00
christos
9cc011e7a1
Use new files.sunos and old files.svr4 :-)
1995-04-27 12:16:31 +00:00
christos
843a2a3539
Use new files.sunos
1995-04-27 12:08:54 +00:00
phil
b9c4f23337
needs-count => needs-flag
1995-04-27 07:26:08 +00:00
phil
042a0e2c63
remove warnings in pmap.c
1995-04-27 07:19:09 +00:00
phil
83e651c4c4
scntty & reorg using softc stuff.
1995-04-27 07:18:02 +00:00
phil
a186461a00
conf.c: ptstty ...
...
machdep.c: setregs parameter type change, remove warnings
process_machdep.c, pmap.c : remove warnings
1995-04-27 07:16:31 +00:00