simonb
|
516865d17c
|
Enable now that "make depend" works properly.
|
1999-03-27 07:39:06 +00:00 |
|
simonb
|
d44e9483b0
|
Go back to a Makefile.booters scheme, like most other ports do. No
more problems for "make depend" - tested with and without obj dirs.
|
1999-03-27 07:17:50 +00:00 |
|
simonb
|
d0e107a1a5
|
Update copyrights.
|
1999-03-26 05:23:58 +00:00 |
|
simonb
|
4fefe2cb37
|
Conditionally set BINMODE and BINDIR so lower level Makefiles can override
the location or modes.
Fix up the machine and mips symlink creation.
|
1999-03-26 02:12:17 +00:00 |
|
simonb
|
461afc9079
|
Explictly set BINMODE to 555 so that ../Makefile.inc doesn't override it.
|
1999-03-26 02:07:55 +00:00 |
|
simonb
|
aff677bcae
|
Updates for new bootblocks.
|
1999-03-25 12:24:56 +00:00 |
|
simonb
|
5010ae76c0
|
Remove old (not-enabled) local support for loading kernels.
|
1999-03-25 12:16:04 +00:00 |
|
simonb
|
b295b577e1
|
Second stage bootblocks based on original single stage blocks.
|
1999-03-25 12:11:41 +00:00 |
|
simonb
|
2dde1643c2
|
Makefile for /boot.
|
1999-03-25 12:10:12 +00:00 |
|
simonb
|
7c060ce391
|
Version info for bootblocks.
|
1999-03-25 11:57:41 +00:00 |
|
simonb
|
26098f27a2
|
Emtpy twiddle() to save space in stage 1 bootblocks
|
1999-03-25 05:28:36 +00:00 |
|
simonb
|
b9b7830d05
|
Unused now.
|
1999-03-25 05:27:00 +00:00 |
|
simonb
|
1e80ec96a0
|
Only include the dec disklabel at the start of BOOTXX is defined.
|
1999-03-25 05:23:48 +00:00 |
|
simonb
|
fb11e9e236
|
Remove unused debugging code, and clean up an error message.
|
1999-03-25 05:22:44 +00:00 |
|
simonb
|
f490a639c9
|
Not needed at the moment - may be resurrected when netboot comes along.
|
1999-03-25 05:19:44 +00:00 |
|
simonb
|
a160a47e1b
|
Fix header botch in previous.
|
1999-03-25 05:17:49 +00:00 |
|
simonb
|
e213504efd
|
Call main instead of _main.
|
1999-03-25 05:17:27 +00:00 |
|
simonb
|
c80fb4ccb8
|
Change from loading an a.out kernel to an ELF /boot.
|
1999-03-25 05:16:06 +00:00 |
|
simonb
|
0e44e536a0
|
Include <machine/stdarg.h> and not <stdarg.h> - found by adding
-nostdinc to CPPFLAGS.
|
1999-03-25 05:13:15 +00:00 |
|
simonb
|
7607cac7b3
|
CVS repository copy to bootxx.c
|
1999-03-25 04:42:06 +00:00 |
|
simonb
|
70bc63765d
|
CVS repositary copied to ../scsiboot. These are small routines and/or
PROM callbacks used only by the first-stage disk bootblocks. Other
bootloaders use libsa/libkern.
|
1999-03-25 04:34:03 +00:00 |
|
simonb
|
ec6b2370d9
|
CVS repositary copied to ../lib.
|
1999-03-25 04:22:04 +00:00 |
|
simonb
|
e6469a71aa
|
Makefile* of pmax specific SA library - based on i386/stand/lib Makefile.
|
1999-03-25 04:16:15 +00:00 |
|
simonb
|
88eed19213
|
Oops, forgot RCS header and copyright.
|
1999-03-25 04:14:03 +00:00 |
|
simonb
|
50e9ee5706
|
Assembly routine that takes an entry point, new stack pointer address
and six extra arguments. Sets up the stack pointer with the arguments
in the right registers/stack positions and calls the entry point.
|
1999-03-25 04:08:59 +00:00 |
|
simonb
|
c7c8021a29
|
Basic putchar() implentation in terms of the PROM's printf() callback.
Not really effecient, but there isn't that much printf'ing down by SA
programs and we can use the libsa printf() so things like "%ld" work.
|
1999-03-25 04:02:57 +00:00 |
|
simonb
|
0f203c7d99
|
Use "make ... echo ${MACHINE}" to get the machine name so
that this script is MI. Just need to find the right place
for it now - suggestions welcome...
|
1999-03-25 03:56:00 +00:00 |
|
simonb
|
246f0aacde
|
Copy of sys/arch/sparc/common/newvers.sh.
|
1999-03-25 03:52:12 +00:00 |
|
simonb
|
c06d325aaa
|
Copy of sys/arch/i386/lib/loadfile.h with tweaks for the pmax.
|
1999-03-25 03:41:58 +00:00 |
|
simonb
|
6c24c1c864
|
When loading an a.out kernel and keeping the exec header, if it's OMAGIC
put the exec header below kernel text.
|
1999-03-25 03:38:53 +00:00 |
|
simonb
|
4ba6c44ef4
|
s/BOOTINFO_MAXSIZE/BOOTINFO_SIZE/
|
1999-03-25 03:35:39 +00:00 |
|
simonb
|
50897b84e0
|
Direct copy of sys/arch/i386/stand/lib/loadfile.c.
XXX: This should probably be MI in sys/lib/libsa. After 1.4...
|
1999-03-24 23:51:26 +00:00 |
|
simonb
|
b4848d6b90
|
Code to initialise and add bootinfo records.
|
1999-03-24 23:47:37 +00:00 |
|
simonb
|
0ba02670be
|
New bootblock directory structure.
|
1999-03-24 02:07:22 +00:00 |
|
simonb
|
c9e3b47a0f
|
Don't build anything while bootblocks are being updated.
|
1999-03-23 22:23:11 +00:00 |
|
simonb
|
e4dd1abb05
|
Merge contents of filesystem.c into conf.c, and remove declaration of
errno from conf.c and put it in boot.c.
|
1999-03-14 00:57:06 +00:00 |
|
drochner
|
2b8eb20358
|
Remove unneeded <mips/regdef.h>. Its contents went into asm.h while ago.
|
1999-03-13 11:20:55 +00:00 |
|
simonb
|
d9c1c30e0e
|
If we get an error (file or bootblocks too big), unlink xxboot and
bootxx and exit(1) so a make will fail. Especially in the too big
case, we don't want a make to work!
|
1999-03-01 11:52:34 +00:00 |
|
simonb
|
19893da01b
|
Add a callback to the PROM routine clear_cache. Not needed now, but
used in two-stage bootblocks.
|
1999-03-01 04:05:18 +00:00 |
|
simonb
|
61b327c2ac
|
Remove bootconf.c from CLEANFILES; not used anymore.
|
1999-02-24 13:54:54 +00:00 |
|
simonb
|
381c553a53
|
Use -Os to reduce code size (from Krister Walfridsson).
|
1999-02-23 01:23:26 +00:00 |
|
simonb
|
ffa92484e2
|
Update cpp defines to current reality.
|
1999-02-22 11:57:18 +00:00 |
|
simonb
|
74f2d414ef
|
Load the bootblocks at 0x8070000 so that ramdisk kernels don't
overwrite the beginning of the bootblocks.
|
1999-02-22 11:53:57 +00:00 |
|
simonb
|
69ba0d255c
|
Update list of source files to reflect reality.
|
1999-02-22 11:31:46 +00:00 |
|
simonb
|
c3baaf3ba5
|
Lightweight memset routine.
|
1999-02-22 11:26:15 +00:00 |
|
simonb
|
31f50e4868
|
Assembly stubs to PROM callback routines.
|
1999-02-22 11:22:40 +00:00 |
|
simonb
|
80ef484669
|
Use sys/lib/libsa/ routines now.
|
1999-02-22 11:21:21 +00:00 |
|
simonb
|
74df4f53e0
|
Allow code in sector zero (from Michael Hitch).
Also in start.S:
+ Removed unused printf routine.
+ Removed unused dummy __main for gcc.
+ s/bzero/memset/.
|
1999-02-22 11:01:43 +00:00 |
|
simonb
|
09cca9e076
|
Don't use the conf.c->bootconf.c guff, remove last tape support,
and actually install the bootblocks.
|
1999-02-22 10:53:13 +00:00 |
|
simonb
|
3d6a630813
|
Break single read and printf of text+data into two separate reads and
printfs. Better aesthetically, especially with a twiddle.
|
1999-02-22 10:23:53 +00:00 |
|