ragge
d254a73539
Remove some unneccessary TBIA's. Keep track of wired pages.
...
Fix PR#8503 (refcount error).
2000-08-08 19:06:52 +00:00
ragge
a8b7c77ff8
Be sure that cache is enabled.
2000-08-08 17:54:46 +00:00
ragge
73bb1e9018
Write code to handle unimplemented instructions trapped via SCB vector 0x18.
...
This may happen on machines missing parts of the instruction set (like
some floating point formats).
Only one new instruction added; POLYD, so that the libm assembly files can
be used on architectures missing that instruction.
Also; include emulation code if compile-time option INSN_EMULATE is defined
instead of trying to match on which cputype it is.
N.B. POLYD isn't fully implemented, just enough to make libm happy.
2000-08-08 16:48:12 +00:00
ragge
cf62d07e82
Fix bug that trashed the SPT if any copy* function were used before
...
the first swtch().
2000-08-02 12:13:22 +00:00
mason
4a353b5330
Moving to a default of 64 PTYs.
2000-07-27 17:53:35 +00:00
matt
63466a9699
Un __P.
2000-07-26 21:50:48 +00:00
ragge
1d79c50d61
Oops, forgot a debug return.
2000-07-26 15:16:55 +00:00
ragge
97c8ae87cd
nmi files.
2000-07-26 12:37:14 +00:00
ragge
f9374fe05f
Add bi interrupt allocator. Should be somewhere else.
2000-07-26 11:55:55 +00:00
ragge
e50ddafc0b
Add badaddr() field.
2000-07-26 11:55:01 +00:00
ragge
550bb5fbb2
Make yeartonum/numtoyear visible.
2000-07-26 11:54:32 +00:00
ragge
c034e1d483
VAX-specific bi support changes.
2000-07-26 11:53:30 +00:00
ragge
9c3b3ed9c6
Discover the KA88 cpu.
2000-07-26 11:50:51 +00:00
ragge
3a73106b1b
KA88 console support.
2000-07-26 11:50:16 +00:00
ragge
0aeb2853f9
Support for a machine-specific badaddr handler.
2000-07-26 11:48:50 +00:00
ragge
b38b1995fa
Support for the KA88 CPU and the NMI backplane.
2000-07-26 11:47:15 +00:00
ragge
851da6dda0
Remove the use of global "mastercpu", the world is different now.
2000-07-26 11:44:25 +00:00
matt
a6f212052a
Enable emulation for everything but 7xx/8xxxx
2000-07-22 05:03:23 +00:00
ragge
96122c2884
Do mtpr(0, PR_TBIA), not mtpr(1, PR_TBIA). This has worked on all CPUs
...
except for KA88.
2000-07-19 21:08:06 +00:00
matt
b14e1fbbd4
Tpyo
2000-07-19 20:29:45 +00:00
matt
38c659cca5
Include ELF support by default.
2000-07-19 18:29:21 +00:00
matt
8e9ff5814e
More ELF changes (a.out still works).
2000-07-19 18:15:01 +00:00
matt
d66b7dcc2d
Switch to loadfile instead of exec. Now we can load a.out or ELF kernels.
2000-07-19 02:39:11 +00:00
matt
ad99ca5ed2
use size_t instead of u_int.
2000-07-19 01:02:52 +00:00
matt
ab5d2882a0
Move KA630 definitions from boot/boot/consio.c to here.
2000-07-19 01:01:58 +00:00
matt
15c6bb6dbd
ELFify (udiv -> __udiv, urem -> __rem)
2000-07-19 01:01:02 +00:00
matt
732a08c3c3
Put the assembly consio routines in a separate file so it can deal with
...
a.out/ELF differences.
2000-07-19 00:59:20 +00:00
matt
9b4c867626
Add support for loading a 2nd stage boot in either a.out or ELF.
...
Add support for loading a 2nd stage boot directly to it's desired address
if possible.
cleanup use of u_int/size_t.
2000-07-19 00:58:23 +00:00
matt
f96915efa5
Changes so that the kernel can be compiled under __ELF__.
2000-07-17 02:54:04 +00:00
matt
5d9fda1ecd
switch size_t, ptrdiff_t, & ssize_t to long int (signed or unsigned) for
...
__ELF__.
2000-07-17 02:52:24 +00:00
matt
cb551c438d
Reflect the new reality.
2000-07-13 03:18:22 +00:00
matt
841f05f1b2
Use <machine/asm.h>
2000-07-13 03:17:21 +00:00
matt
20b3698aee
Include libkern.h
2000-07-13 03:13:40 +00:00
matt
98ffc615b2
Use <machine/asm.h>. (e.g. prepare for ELF)
2000-07-13 03:13:05 +00:00
ragge
c71d0f69c6
Forgot a debug printf.
2000-07-10 10:45:21 +00:00
ragge
5ae755e1bf
Save registers for eventually later usage.
...
Use REI to clear pipes after code copy.
2000-07-10 10:42:27 +00:00
ragge
baec928850
NODESIZE -> BI_NODESIZE.
2000-07-10 10:40:38 +00:00
ragge
ed83213bf2
Add support for VAX 6000 + VAX 8000. Tweak console routines.
...
Create a fake RPB if either netbooted (on machine without RPB) or
loaded from console storage (without VMB intervention).
2000-07-10 10:38:23 +00:00
ragge
175e6ad859
Add code that allows the boot blocks to be loaded by VMB.EXE, and
...
also have optional MTPR printf available.
2000-07-10 09:55:36 +00:00
ragge
8658157274
Nexus vector number is 0x14-0x17, not 14-17! Fortunately, 3 wrong did
...
one right. Pointed out by Kenn Humborg (kenn@linux.ie ).
2000-07-10 09:14:32 +00:00
ragge
089ed65ef7
Add NMI and XMI outcommented, the same with VAX 6400 and VAX 8000.
2000-07-06 18:04:56 +00:00
ragge
0e29b678ce
Add xmi_mainbus.c file.
2000-07-06 17:43:38 +00:00
ragge
63852b4193
Some defines for the 6000/400 CPU.
2000-07-06 17:42:49 +00:00
ragge
443db45277
Framework for the mainbus-XMI block. Not completely finished.
2000-07-06 17:41:37 +00:00
ragge
b98189c9f5
CPU support for the 6000/400 CPU. No support for spinning up the
...
slave processor yet, though.
2000-07-06 17:40:00 +00:00
ragge
d5e70ee279
Add code to support loading of kernel directly via MOP.
...
This is only intended for development purposes, not production use.
2000-07-06 17:37:40 +00:00
ragge
6bf625c8c0
Recognise VAX 6000/400.
2000-07-06 17:36:22 +00:00
ragge
5c50116697
Console Communication Area (CCA) layout description.
...
Used on for example VAX 6000 machines.
2000-07-06 17:34:29 +00:00
matt
8fbc28d991
Revert WEAK_ALIAS back to ELF only.
...
Change ALTENTRY so there is no change of alignment or section
2000-07-03 23:05:32 +00:00
matt
4f1fa84a93
Rework ALTENTRY a bit.
2000-07-03 04:24:56 +00:00