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
simonb
63e306cbe7
Use "#ifdef UFS_NOCLOSE/UFS_NOWRITE" instead of "#ifdef SMALL".
1999-02-22 10:18:40 +00:00
simonb
6932c61287
Use memset() instead of bzero().
1999-02-22 10:16:52 +00:00
simonb
e87d6bf17e
More tape support not needed.
1999-02-22 09:25:16 +00:00
simonb
50ae7be229
Don't implicitly type the devopen() function.
...
Don't include machine/dec_prom.h.
1999-02-22 08:24:47 +00:00
simonb
2e4a4cb289
Revert to a simple memcpy implementation - a memcpy() PROM callback is not
...
available on all DECstation models.
1999-02-22 08:22:21 +00:00
simonb
2407241a09
Sync with sys/lib/libsa/ufs.c. Now the same except for the memset/memcpy
...
#defines at the top.
1999-02-22 08:16:57 +00:00
simonb
ddf48f18a0
Remove traces of tape support - we're nowhere near handling it at the
...
moment.
1999-02-22 07:17:44 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
jonathan
9ec88780aa
size_t and void*-arithmetic changes from sys/libsa/ufs.c.
1999-02-01 03:08:05 +00:00
jonathan
45f13be5cb
use memcpy, not bcopy, for non-overlapping copies.
1999-02-01 02:46:59 +00:00
simonb
53e963b5ef
Add -mmemcpy (from Jonathan Stone) and bump -G to 128. Bootblocks now
...
fit! Still needs more testing, so we don't actually install them yet...
1999-01-30 12:57:58 +00:00
simonb
98ceefb712
Actually depend on libsa now.
1999-01-30 12:39:28 +00:00
simonb
555cdd32e5
Don't define an ioctl routine for the rz driver, nor pull in the empty
...
routines in libsa/dev.c.
1999-01-30 12:30:57 +00:00
simonb
1047f11c01
Remove unused callvec stubs and libsa routines, add memcpy.c.
1999-01-30 12:23:10 +00:00
simonb
db342dee15
Add memcpy callvec stub, copied from strcat.c
1999-01-30 11:54:31 +00:00
simonb
a9f9300b78
Tell how many bytes of code are available, and print a warning if the
...
bootblocks are too large - from Michael Hitch.
1999-01-30 10:14:45 +00:00
simonb
500353b4c3
Use DEC_REX_MAGIC instead of a undocumented magic number
1999-01-30 00:40:38 +00:00
simonb
916b809a51
Make a `machine' symlink to ..../pmax/include to locate new location of
...
the dec_????.h files. Gleaned from other ports' stand/Makefile.inc's.
1999-01-29 05:51:15 +00:00
simonb
9a3172af0e
Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
1999-01-29 05:37:45 +00:00
simonb
fe1bdc0a06
Move via repository copy to pmax/include - the kernel uses these
...
includes too.
1999-01-29 05:28:59 +00:00
simonb
ce856af2ef
Include dec_prom.h with `full' path if being included by kernel.
...
XXX: Should these headers used by the kernel be in pmax/include instead
of pmax/stand?
1999-01-27 05:52:31 +00:00
simonb
3566c2a4a4
Add NetBSD RCS ids
1999-01-22 14:27:31 +00:00
simonb
65fca13b07
More Makefile cleanups:
...
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft
Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.
dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
1999-01-22 14:05:05 +00:00
simonb
76764712c1
Round one of the Makefile clean up:
...
+ dependency on libsa works
+ set and use BINDIR/BINMODE
+ don't pull in sys/lib/lib{sa,kern}/Makefile.inc (``make clean''
doesn't make empty lib/{sa,kern} directories in each
directory/obj dir).
+ remove unnecessary targets, variables and other cruft
+ wrap lines at 80 chars
Re-ordering SRCS line in libsa/Makefile to a more logical sequence
(alphabetical by source dir) results in a libsa.a with archive members
in a different order, and a resultant bootrz that differs from the 1.3.3
bootrz. Untested as yet, so left in but commented out.
Also, _don't_ install the bootblocks (as per intent of previous commit)
or our own small libsa(!).
1999-01-21 14:16:52 +00:00
simonb
ab18b23eba
Add dkcksum.c (pulled in from libsa) and remove local copy of
...
disklabel.c (with it's own copy of the same dkcksum routine). Output
code still identical.
1999-01-21 12:43:11 +00:00
simonb
6c2628b5d0
Almost working bootblocks for the pmax. This compiles fine with gcc
...
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.
Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem). At least there's something to
work with now.
Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
1999-01-21 12:33:39 +00:00
simonb
64b6a85f9c
Remove obsolete README and dec_label program
1999-01-20 13:37:56 +00:00
simonb
47c28b03d8
Move via repository copy to sys/arch/pmax/stand/scsiboot
1999-01-20 12:03:56 +00:00
drochner
bd9ed5a6fd
STANDALONE->_STANDALONE (cpp definition)
...
closes PR kern/5481 (Erik Bertelsen <erik@q610.ebe.uni-c.dk>)
1998-05-22 12:56:35 +00:00
perry
b46484bb8a
RCSID Police.
1998-01-05 20:51:25 +00:00
perry
015e898c02
RCSID Police.
1998-01-05 07:02:46 +00:00
lukem
3e8e744696
getopt returns -1 not EOF
1997-11-01 06:49:14 +00:00
jonathan
0fa286f23d
Note non-inclusion of up-to-date bootblock source for 1.3, as
...
suggested by release engineers.
1997-10-18 22:33:28 +00:00
lukem
28558b28eb
rcsid fascism
1997-10-13 14:22:22 +00:00
jonathan
c6b9463cd1
Remove all references to <machine/machAsmDefs.h>.
...
Use #include <mips/asm.h> instead.
1997-06-16 01:23:56 +00:00
jonathan
8a00c90491
Remove old 4.4bsd/pmax rules and targets.
1997-06-15 22:53:49 +00:00
jonathan
d21acac556
Create standard Makefile for arch/pmax/stand.
...
Copy old Makefile with bootblock rules to Makefile.booters.
1997-05-25 22:03:23 +00:00
jonathan
40b20f7799
Move dec_label into a subdir.
1997-05-25 21:39:08 +00:00
jonathan
c17d51a55d
Add (bogus) prototype for tcinfo() PROM callback until we know what it is.
1997-05-25 05:44:13 +00:00
jonathan
61d121e3d7
Undefine the macros defined by dec_prom.h, in the compiled-in
...
libsa functions that define function entrypoints for them.
1997-03-05 05:20:40 +00:00
thorpej
150c33e60b
Use ${INSTALL}.
1996-10-18 05:55:26 +00:00
jonathan
e82e5facd0
Add _ prefix to the PROM-callback-vector entrypoint in standalone
...
wrappers for:
gets.c getenv.c strcat.c strcpy.c
so they compile again (if _KERNEL is defined).
For bootblock space reasons it would be prereable to call the PROM entrypoints
directly, via the macro wappers in de_prom.h, rather than C function wrappers.
1996-09-30 01:14:39 +00:00
jonathan
6c56d533b3
Add "const" to second argument to devopen.c, to match sys/lib/libsa/stand.h.
1996-09-30 01:02:06 +00:00
jonathan
cb5732503f
Add fake, bogus prototype for gettcinfo(), with "void" arglist.
...
(Not having a prototype breaks -Wstrict-prototypes, this callback
isn't used, and we don't know what the prototype should be.)
1996-09-21 03:33:18 +00:00
jonathan
aff8e70475
Fix hanging open comment.
1996-04-08 00:52:10 +00:00
mycroft
88e512b693
LOCORE -> _LOCORE
1996-02-01 22:28:24 +00:00
thorpej
2c5d55d959
Use ${BINOWN} and ${BINGRP} per Arne H. Juul <arnej@ikke.idt.unit.no>
...
in PR #705 .
1996-01-15 01:44:52 +00:00
jonathan
cf5cff6ce5
Change PROM callback from "strcmp" to "_strcmp", which is what
...
dec_prom.h uses.
1995-10-26 01:39:49 +00:00
jonathan
d3d55dedb5
Macro definitions of ntohs() and ntohl() for pmax bootblocks.
1995-10-26 01:31:09 +00:00
jonathan
8e3a40d820
Commit missing modified copy of (old) sparc filesystem.c, that has
...
a comple-time option to support a subset of UFS operations, to build
small bootblocks.
1995-10-26 01:29:34 +00:00
jonathan
51d59ca152
Update pmax kernel to compile with -Werror:
...
Fix the initializer of the prom bootinit() function, to take a char* that's
(presumably) the name of the file to boot -- even though it's not used.
1995-09-25 21:06:29 +00:00
jonathan
7c4739e2c3
Change bootblock load code to work with old DECstation proms (2100, 3100)
...
that lack the REX callback introduced with 5k/200.
1995-06-28 10:22:32 +00:00
jtc
71ab4ed9dc
KERNEL -> _KERNEL
1995-03-28 18:13:48 +00:00
mellon
ca985c53b6
Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
1995-01-18 06:53:36 +00:00
mycroft
40073dc687
Clean up deleted files.
1995-01-18 06:19:31 +00:00
mellon
c19690fb69
Start code for boot loader (under new name with some changes)
1995-01-18 06:19:01 +00:00
mycroft
c32023e792
More underscores...
1994-12-15 17:02:08 +00:00
dean
705ee976cf
Prepended underscores
1994-11-14 23:48:58 +00:00
cgd
a63beafc2b
new RCS ID format.
1994-10-26 21:08:38 +00:00
mycroft
fd536b8545
vmunix --> netbsd
1994-09-17 00:24:06 +00:00
glass
6b63c739f3
bsd 4.4-lite pmax port as ported to NetBSD
1994-05-27 08:57:32 +00:00
glass
814f4529f3
upgrade to bsd 4.4-lite code base. only mod is rcsids
1994-05-27 08:40:50 +00:00
deraadt
fe806afec2
pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
1993-10-12 03:22:19 +00:00