mrg
08847f7836
use strncat/snprintf
1996-06-19 06:02:24 +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
christos
bb531c94ea
General cleanup
1996-06-18 20:32:25 +00:00
christos
1d4349e7c8
ypset(8) stopped working; reason:
...
xdr_ypbind_setdom() would always fail because the test for
xdr_ypdomain_wrap_string() was reversed. Fixed this and in
the process made all the function tests to be of the form:
if (!xdr_foo())
return FALSE;
....
return TRUE;
instead of having some of them like above and others like:
if (xdr_foo() == FALSE)
return FALSE;
...
return xdr_bar();
this is more consistant now and hopefully in the future people
will pattern match correctly and not introduce spurious errors.
1996-06-18 20:05:59 +00:00
briggs
14cd82db79
Minor formatting update.
1996-06-18 17:45:24 +00:00
briggs
3a5ebfc1d7
paths are specified as server:/path and the server and path are both
...
returned.
1996-06-18 17:30:16 +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
pk
ca95e90fca
Insert filesystem type in munge_fstab.
...
Don't `ifconfig down' an active network interface (bad for diskless setup);
but use it to cull default IP address and netmask.
1996-06-18 12:50:56 +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
cgd
c893f3f107
{,r}cd0c's minor number was wrong; fix. Make all device nodes for
...
'cd', just like for 'sd', 'vnd', and 'ccd'.
1996-06-18 00:35:43 +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
cgd
cb40dc44d0
two devices instances which are otherwise the same but do not attach
...
via the same attributes are _not_ the same, and should not be treated
as aliases of each other.
1996-06-17 18:21:35 +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
gwr
3274834c18
Use the PROM->input_source setting instead of EEPROM to determine
...
where the console is, because that is correct if, for example, you
boot with the diag/norm switch set for diagnostics and the EEPROM
is set for keyboard/display.
1996-06-17 15:17:06 +00:00
oki
f0367c0602
first commit of x68k related document.
1996-06-17 11:26:04 +00:00
jonathan
9fedff95ce
Update mipspmax elf exec support:
...
* Update arch/mips/mips/cpu_exec.c to include MI exec_elf.h header,
and to use the MI interface exec_elf_makecmds().
* Replace arch/mips/mips/elf.c (Ted Lemon's elf code) with
a version of Christos's MI elf exec code, munged to support demand paging
and mips shared libraries.
1996-06-17 10:51:28 +00:00
jonathan
2311fa5f31
Fix typo, colon instead of semicolon when DS_5000_25 is not defined.
1996-06-17 07:59:39 +00:00
jonathan
b212f1b0c1
Move cpu_singlestep outside of #ifdef DEBUG/#endif; the process-tracing code
...
in mips/mips/process_machdep.c (erroneously) calls cpu_singlestep().
1996-06-17 07:55:13 +00:00
oki
ff21e075f0
added wait for insert system floppy
1996-06-17 07:28:58 +00:00
jonathan
26626be148
Before calling a signal handler, set $t9 to the user-level signal
...
handler address. May be needed by sysv ABI for shared libs.
1996-06-17 06:36:34 +00:00
oki
8da30c1475
fd* is need to boot from floppy
1996-06-17 06:09:30 +00:00
oki
fc865832f6
method of kernel-copy floppy
1996-06-17 04:14:15 +00:00
oki
cc7e048040
fixed to make image file correctly
1996-06-17 04:12:16 +00:00
oki
342179751f
added entry for install floppy
1996-06-17 02:28:39 +00:00
pk
5d5e7cf75e
bootpath detection: some (newer?) v2 prom versions use actual device address,
...
e.g. `/fd@1,72000000'.
1996-06-16 23:28:18 +00:00
pk
cd121eefce
malloc.9/free.9
1996-06-16 23:23:20 +00:00
pk
071070a4af
kernel memory allocator
1996-06-16 23:20:53 +00:00