scottr
231a66aa69
Minor style cleanup (avoid goto); no functional change.
1996-06-21 06:12:45 +00:00
scottr
08a2715e38
Test for serial console in adb_init() early, and abort if we're using it.
...
Initiialize ROM vectors regardless of this so that the PRAM RTC read and
write work regardless of whether a serial console is in use.
1996-06-21 06:10:56 +00:00
pk
43cca6772f
rd_root.c' =>
md_root.c'
1996-06-20 20:17:57 +00:00
pk
ba3ce100e0
memory disk driver hooks to pass on the root filesystem bits.
...
Note: this file is called `md_root.c' in anticipation of the forthcoming
`rd' => `md' rename.
1996-06-20 20:15:40 +00:00
pk
b0b2a995cd
When booting from a floppy drive and RAMDSK_HOOKS is defined, arrange for
...
a callback from memory disk driver to load the actual root image.
1996-06-20 20:12:31 +00:00
pk
d802ca2b2a
Declare a memory disk at block device #5 .
1996-06-20 20:07:45 +00:00
pk
417fc9581d
ramdisk stuff
1996-06-20 20:06:16 +00:00
pk
5b9021505a
ramdisk stuff.
1996-06-20 20:05:46 +00:00
pk
a0222c1293
Turn on disconnect/reselect by default on targets 4-7 on the premise that
...
tape devices normally are set to one of these targets. Tape devices should
be allowed to disconnect for the SCSI bus to operate acceptably.
1996-06-20 19:50:41 +00:00
leo
e07a535f4e
Some minor nits.
1996-06-20 19:41:01 +00:00
is
0569d3582c
Use the right microsecond delay address. To achieve this, also map that
...
piece of hardware into kernel virtual memory (was only a guess 'til now).
XXX Unfortunately, the hardware vendor reserves the right to change this in
future DraCo revisions. We must rethink delay() and DELAY(), at least for the
DraCo, soon.
1996-06-20 09:31:58 +00:00
jonathan
fc7c84da3a
Explictly credit Per Fogelstrom for the mips shared library support in elf.c,
...
which was taken from OpenBSD/pica.
The previous revision of elf.c replaced Ted Lemon's elf exec machinery
with something closer to Christos' MI elf machinery. It turns out
that old NetBSD/pmax elf binaries have three segments, and the newer
elf exec machinery cannot exec them.
The old elf exec machinery is folded back into cpu_exec.c, which falls
back onto using the old machinery if the new machinery fails. The
old-style binaries will be deprecated at the 1.2 release.
1996-06-20 07:06:36 +00:00
scottr
02f1ebc3de
SPOT is now an NFS server, too.
1996-06-20 04:11:55 +00:00
gwr
e1cc05a94c
Fix ZMAGIC (from Chuck Cranor)
1996-06-20 03:59:41 +00:00
gwr
a1ec070f97
Take control over the kernel libraries so cross-build is easier.
1996-06-20 03:47:27 +00:00
gwr
4bb67f0a27
Take control over the kernel libraries so cross-build is easier.
1996-06-20 03:11:06 +00:00
pk
dba83379bd
Remove a "notyet" in last commit.
1996-06-19 13:30:49 +00:00
pk
c7fc34ac08
add tcx device at major number 109
1996-06-19 13:28:14 +00:00
pk
3da87417d2
tcx declaration
1996-06-19 13:25:01 +00:00
pk
5f5407c39e
add tcx
1996-06-19 13:23:25 +00:00
pk
c6d4bf55e3
Add tcx definition.
1996-06-19 13:21:09 +00:00
pk
f62f900f6c
First go at a TCX framebuffer driver. This version does enough to
...
load and store colour lookup tables
blank the screen / put monitor in power-saving mode
make X11 run on it in `cgthree' emulation.
1996-06-19 13:17:35 +00:00
scottr
758ea43e99
Completely revamp setroot() and friends. Since Chris' version of this code
...
is close to how I reworked it, I pulled in the (essentially MI) NetBSD/alpha
and added the appropriate support around it.
- No need for the GENERIC kernel config option.
- NFS-mounted root and swap are supported.
- If we can't figure out where the root filesystem is from what the Booter
tells us, ask the user.
- Split the mainbus autoconfig code to a separate file.
Also, update/add copyrights as appropriate.
1996-06-19 03:21:03 +00:00
briggs
37472fd212
Remove Alice copyright.
1996-06-19 02:20:54 +00:00
briggs
09eef8070d
Remove Alice copyright and comment from '92.
1996-06-19 02:19:13 +00:00
scottr
6c3aabe226
Update some comments, and the copyright
1996-06-19 01:47:28 +00:00
mycroft
506cefab8c
In the sync case of bwrite(), move the accounting earlier so that so that the
...
delayed write is logically converted to a sync write, mirroring the async case.
In bdwrite(), move the tape case earlier to avoid needless reassignbuf()s.
1996-06-18 20:50:23 +00:00
is
40cd9f0062
During the data type cleanup, a bug crept in in the code handling mbufs with
...
odd length. This would lead to corrupt data sent.
1996-06-18 20:50:00 +00:00
gwr
a2b74a415d
Several minor changes to make cross-compilation easier.
...
(I do most compiles on a sparc these days...)
1996-06-18 16:18:34 +00:00
mycroft
a8e5b5ba47
Remove some unneeded FIFO flushes and reorder some register changes per the
...
6360 manual. Turn off synchronous negotiation.
1996-06-18 16:13:05 +00:00
gwr
d3b59f36ab
Add the field "pcb_mmuctx" for future use by the pmap code.
...
(This will make later update of the pmap code much easier.)
1996-06-18 16:03:45 +00:00
mycroft
202bd8b9ae
Turn off *DIAG by default.
1996-06-18 12:55:00 +00:00
is
59bbde87bc
Don't use the inline assembler 64bit integer division if our kernel might
...
run on 68060. Some graphics boards need delay() in early initialization (that
is, before initcpu() was called.
1996-06-18 11:41:48 +00:00
leo
2c4c524e54
Use -S rather than -x for "normal" link flags.
1996-06-18 11:12:32 +00:00
leo
1301d25702
Pull down from release. Sorry, should have been the other way around....
1996-06-18 11:10:04 +00:00
mycroft
60f46fb10b
Increment the boot block version.
1996-06-18 07:51:26 +00:00
mycroft
584f242944
Don't advance to the next default name if the user typed something.
...
Make gets() return void.
1996-06-18 07:47:02 +00:00
mycroft
398b638fbb
Add comments on #else and #endif. Move #ifndefs outside of comment blocks.
1996-06-18 07:17:47 +00:00
mycroft
b360b90a92
Save %esi and %edi around BIOS calls. Also, reference arguments through
...
%esp rather than %ebp, to avoid needing to change %ebp on entry.
1996-06-18 07:03:44 +00:00
leo
cf50b9a115
Add fpfault & bus error handling corrections from Ignatios Souvatzis.
1996-06-18 06:13:46 +00:00
mycroft
f2d34a2c9a
Compare device types with strcmp(). Remove special case for `wt'.
1996-06-18 06:10:33 +00:00
mycroft
8a706cd17f
Add a ONEDISK option to elide the getc().
1996-06-18 06:06:38 +00:00
mycroft
0ca0eeec5f
Clean up the install target.
1996-06-18 06:05:44 +00:00
leo
d84f4c4b18
Add tty_attach() calls.
1996-06-18 05:54:59 +00:00
mycroft
36720c448c
Use the BIOS memory sizes passed in by the boot program, to preserve the BIOS
...
data area.
1996-06-18 01:53:07 +00:00
gwr
bf7ab63c97
Move some of the DMA engine initialization from the "start" routine
...
to the "setup" routine. Doing the initialization earlier prevents
nasty race conditions where the 5380 prefetch changes the counter.
1996-06-17 23:21:29 +00:00
pk
b298c40fbe
Call reassignbuf() at splbio in bdwrite().
1996-06-17 22:21:31 +00:00
cgd
b2dca977c5
FPA probe would always return zero, because of incorrect return statement.
...
Patch provided by Peter Galbavy in PR 2555.
1996-06-17 18:29:18 +00:00
gwr
dc066b6a10
KGDB support
1996-06-17 15:40:36 +00:00
gwr
af3f9266db
Correct return type of boot() and reboot2().
1996-06-17 15:27:16 +00:00