ragge
1e700bc362
Make it compile again.
2000-05-26 20:51:25 +00:00
ragge
b2bc655ba8
Fake success when trying to use the strategy() routine on a network device.
...
This avoids clobbering errno and bad error messages.
2000-05-26 20:18:57 +00:00
ragge
e2148b38ab
Don't init the net info more than once.
2000-05-26 20:16:46 +00:00
ragge
b8b40eed22
Avoid hanging if boot fails on some machines.
2000-05-26 20:15:21 +00:00
jhawk
8e44b27348
Rename the machine-specific stack trace printing functions
...
from db_stack_trace_cmd() to db_stack_trace_print(),
and add an additional argument, a function pointer for an
output routine (i.e. printf() or db_printf()).
Add db_stack_trace_cmd() in db_command.[ch], calling
db_stack_trace_print() with db_printf() as the printer.
Move count==-1 special handling from db_stack_trace_print() [nee
db_stack_trace_cmd()] to db_stack_trace_cmd() [nascent here].
Again, I'm unable to test compilation on all affected platforms,
so advance apologies for potential brokenness.
2000-05-26 03:34:24 +00:00
thorpej
8964c35eca
Introduce a new process state distinct from SRUN called SONPROC
...
which indicates that the process is actually running on a
processor. Test against SONPROC as appropriate rather than
combinations of SRUN and curproc. Update all context switch code
to properly set SONPROC when the process becomes the current
process on the CPU.
2000-05-26 00:36:42 +00:00
matt
37be92c0d1
Add loadfile() support. soon to be needed by bootblocks.
2000-05-25 20:25:22 +00:00
matt
091b74891d
Modify the file list for kernel to supress errors/text for certain ones.
2000-05-25 19:36:20 +00:00
thorpej
6ec6c6f90a
Move common return-to-userland goo into userret(), like other ports.
2000-05-25 17:01:11 +00:00
ragge
e256727fb2
Four more instructions makes it possible to boot old kernels also.
2000-05-24 19:53:11 +00:00
thorpej
1140468205
Use preempt(), not an open-coded equivalent (which won't be
...
equivalent for long).
2000-05-24 16:48:33 +00:00
matt
83ae868133
Add some debug stuff. Disable SCSI on KA49 for now until I can figure out
...
why it doesn't work.
2000-05-23 23:47:28 +00:00
matt
62469cb55a
Allow for boot.vax and netbsd.vax when booting. this allows a multi
...
architecture CD to be made which includes VAX support.
2000-05-23 23:34:20 +00:00
matt
27a876b17c
boot detection moved autoconf.c; remove it from here.
2000-05-23 21:36:43 +00:00
matt
6f98bbbb09
Add some missing ifdef's.
2000-05-23 19:55:55 +00:00
matt
88352edc02
Add prototype for findcpu in _STANDALONE.
2000-05-22 15:55:52 +00:00
matt
8c22116924
cpp can be so annoying. to appease it, can't -> cannot
2000-05-22 15:54:53 +00:00
matt
7a0c7ff6f9
get rid of a double /
2000-05-22 15:42:37 +00:00
matt
09d6519a0f
make the declaration of findcpu() ansi. (e.g add void to it).
2000-05-22 15:41:31 +00:00
matt
5ece00b8bc
Obviously we don't use the symbol, but we might give it the correct value.
...
We support up to NVAX platforms.
2000-05-22 15:40:06 +00:00
matt
2d5c3f8447
Move BDEV_LE detection to here.
2000-05-22 15:38:47 +00:00
matt
cb089ee017
Remove RPB hook from here and put in autoconf.c
2000-05-22 15:34:05 +00:00
matt
ff7c474e11
The double / in the path has been bothering me for awhile.
2000-05-22 15:33:13 +00:00
ragge
f506422549
Boot device recognition for DEUNA added; combined with some cleanup.
2000-05-21 20:18:49 +00:00
ragge
314caa6651
Standalone driver for the Digital Equipment Unibus Network Adapter (DEUNA).
...
This allows 11/750 owners to install from a single TU58 cassette.
(Are there still any 11/750 owners left out there? :-)
2000-05-21 20:17:43 +00:00
ragge
da774180b6
Compare the boot address with 1) physical address and 2) correct variable.
2000-05-21 10:03:55 +00:00
ragge
d901690b17
Remove forgotten debug printf.
2000-05-21 09:45:54 +00:00
ragge
0b560b2138
Set correct adapter addresses if none is given.
2000-05-21 09:45:34 +00:00
ragge
93753c91c0
11/750 fixes:
...
- Set the correct adapter address in RPB for Unibus devices.
- Repair the disk read routines for HP disks. ROM routines do not work
on HP disks, therefore use a small home-written routine.
2000-05-21 09:44:16 +00:00
ragge
f7b7cabc0b
On the 11/750, the stack will be placed by ROM in the code area.
...
Start with moving it to a safe place.
2000-05-21 08:13:20 +00:00
ragge
2da29b7e01
Changes to use the RPB for different tasks. Much simpler now to find the
...
boot device.
2000-05-20 13:38:58 +00:00
ragge
b3f6551d41
WARNS=1. Unify the ra and tmscp driver.
2000-05-20 13:36:11 +00:00
ragge
027ee49b0f
Adopt to the RPB changes. Complete change of how network devices are
...
handled. No more hacks to find bus addresses.
2000-05-20 13:35:07 +00:00
ragge
c5f56fab00
Change all devices to use the RPB info when autobooting, this allows for
...
booting from unsupported devices also. As a side effect; it fixes PR#9202.
2000-05-20 13:30:03 +00:00
ragge
a8a7bf342f
New arguments to the rom routines. Adapt srt0 to new world also.
2000-05-20 13:22:39 +00:00
ragge
9ff9efe46a
Rewriting of the VAX boot block. Differences:
...
- Use the RPB for passing boot device info up to kernel, instead of the
old BSD "hack" with an encoded longword (see sys/reboot.h for details)
- Instead of separate drivers for all devices, use the HW-provided ROM
routines as much as possible.
- Add filesystem support for CD9660 also (now when there is space).
- Make everything compile with WARNS=1.
The boot block is now <7K in size and have support for UFS, CD9660 and USTAR.
2000-05-20 13:21:29 +00:00
thorpej
071aed40ac
A foolish consistency; most parts of the kernel use bp->b_data, so
...
change these from bp->b_un.b_addr to bp->b_data, as well. This also
allows us more flexibility to experiment with other data buffer types
hung off of struct buf.
2000-05-19 18:54:22 +00:00
matt
9bf1dc1e62
fix comments.
2000-05-18 04:20:41 +00:00
matt
2d153651e5
Preliminary support for the VS4000/90 SGMAP. Needed for SCSI. Does not
...
quite work right yet.
2000-05-17 21:22:18 +00:00
matt
6fb4d43f97
Sync closer to GENERIC.
2000-05-17 21:19:49 +00:00
ragge
6a36c27519
Get boot device CSR from RPB instead of trying to guess it.
2000-05-09 20:53:51 +00:00
ragge
94faa6da32
Change copy*str() functions. More paranoid checking of legal address space.
...
Fixes PR#7838.
2000-05-09 18:59:58 +00:00
hubertf
9f48bba3ae
Add "install" target, so "make install" after building the kernel
...
does something useful. The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
2000-05-09 00:56:21 +00:00
thorpej
6a33c86623
HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also,
...
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
2000-05-09 00:32:19 +00:00
ragge
57115228ef
Sorry, no KA680.
2000-05-08 19:46:12 +00:00
ragge
5fc118100e
Add 4000/200 and 4000/500.
2000-05-08 19:09:49 +00:00
ragge
7f9df86ca6
Get correct MAC address out of rom on VAX 4000/200. From Michael Kukat.
2000-05-08 18:51:17 +00:00
ragge
f511619a4f
Some more CPUs... From Michael Kukat.
2000-05-08 18:48:30 +00:00
ragge
282320f7df
Rudimentary CPU support files for VAX 4000/105, 4000/200 and 4000/500.
...
From Michael Kukat.
2000-05-08 18:45:26 +00:00
ragge
aedfd4de1c
VAX 4000/200 support. From Michael Kukat.
2000-05-08 17:53:24 +00:00