matt
786b602bd3
Rework things to move common stuff into Makefile.inc.
2003-12-11 17:34:09 +00:00
matt
031990a547
Make sure to include <bsd.own.mk> to pick up the definition of HAVE_GCC3
2003-12-09 04:54:54 +00:00
matt
52f58bd42a
Suppress a gcc3 type-punning warning.
2003-12-08 07:33:12 +00:00
matt
31ba84cb6a
Move common CFLAGS/AFLAGS to Makefile.inc.
...
For now, only suppy -mno-asm-pic when not using gcc3.
2003-12-08 07:32:19 +00:00
wiz
ee1b406595
Spell address with two d's. Inspired by similar changes in OpenBSD,
...
originating from Jonathon Gray and forwarded by jmc@openbsd.
2003-11-10 08:51:51 +00:00
jdolecek
f96eb7635f
yield to the strchr() prototype from libkern.h
2003-11-04 14:04:04 +00:00
jdolecek
d944bca949
rename local index() to strchr()
2003-11-01 13:02:04 +00:00
lukem
f85d2d1c14
Use ${HOST_SH} instead of `sh'.
...
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
ragge
4728b0483f
The last commit broke the boot code (memset may be larger than 64k).
...
Johnny Billquist fixed it and bugfixed some routines.
2003-10-07 12:01:27 +00:00
dsl
fe89b1db32
Add memcmp, memcpy and memset
...
Fix strncmp(x, y, 0)
Use unsigned compares for strcmp and memcmp (and bcmp).
Compiles but untested
AFAICT http://h71000.www7.hp.com/doc/72final/4515/4515pro_025.html#4515ch9_146
cmpc3/5 set %r4 and %r5 to zero, It doesn't look as though the procedure
call is set to preserve these, and I doubt that gcc is treating them as
scratch registers - does our vax pcs actually have %r2 and %r3 as scratch regs?
2003-09-04 10:40:44 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
he
b218b0c7c5
Compensate for the change of type for io_netif by adding a cast so
...
that this compiles again.
2003-03-28 18:16:59 +00:00
matt
085785f2d9
Add CPPFLAGS=-D__daddr_t=int32_t to shrink primary boot block.
2003-02-04 13:21:49 +00:00
ragge
aa92009e2b
Bring back "START=start", otherwise booting via real VMB don't work.
2003-01-19 21:37:04 +00:00
ragge
0b23d06491
Revert Jason's changes to the boot startup code:
...
- All regs must be saved before any register is altered.
- movc{3,5} alters r0-r5, so clearing bss would clear the text instead.
This needs more thinking/testing to get it work correct; there are
different ways different CPUs call "boot".
2002-12-02 20:23:32 +00:00
thorpej
aca074b95d
Add -mno-asm-pic to CFLAGS and AFLAGS.
2002-11-05 14:35:30 +00:00
thorpej
e0f2bd703f
Only skip the copy if we are already relocated; always clear
...
the BSS.
2002-11-05 06:16:21 +00:00
thorpej
80369ce3c8
Set the entry point to 0 for the ELF case, too.
2002-11-05 06:10:35 +00:00
ragge
a5beda58fa
Remove the (today) unneccessary boot unit number conversions for rom-booted
...
disks. This allows for booting from different LUNs on SCSI disks.
2002-09-19 17:41:21 +00:00
mrg
383ef0f9dc
make booting from FS_RAID work. tested on vs4000/90.
2002-06-24 14:53:16 +00:00
matt
66f6833318
Make sure to cleanup the ${PROG}.out files
2002-06-15 19:26:49 +00:00
matt
4cfae24f91
Add -ffreestanding and LIBC= to stand/boot/*/Makefile. Fix various
...
asm's to work with gcc-current.
2002-06-09 19:21:07 +00:00
ragge
2f48a39412
Need longer delay while waiting for mscp packets, otherwise it times out
...
on VAX8650.
2002-06-04 15:13:55 +00:00
ragge
7a69e342b6
Add 11/780 and 8600 to list for who to create a RPB.
2002-06-01 15:33:22 +00:00
ragge
f811a80bc3
Handle machine checks separate from other "stray" interrupts.
2002-05-31 15:58:26 +00:00
ragge
97b3433515
Use correct ethernet address address on VXT2000.
2002-05-27 16:54:18 +00:00
ragge
7259fa6a37
%d -> %ld in some debug messages, after the ELF switch.
2002-05-24 21:41:40 +00:00
ragge
4d559e645f
Boot support for the VXT2000 X terminal, based on some info on the VAXLinux
...
mailing list.
2002-05-24 21:40:59 +00:00
matt
110c3a2bbf
Use ${PROG}.sym in CLEANFILES
2002-04-07 07:00:25 +00:00
matt
15bab55a0c
These haven't been use for a long time. Move 'em to the attic.
2002-03-31 07:32:18 +00:00
matt
a5b7362c83
Don't build boot.mop. Remove a redundant ${INSTALL_FILE}
2002-03-31 07:30:22 +00:00
matt
015bf59476
Make ddb symbol loading work for ELF as well a.out.
2002-03-31 00:11:13 +00:00
matt
ced55d92b0
Add a xxboot_ustarfs for floppies.
2002-03-29 05:45:07 +00:00
matt
28b1aa2b30
Move .s files to .S files. (and .s.o rules in boot/Makefile.inc)
...
Put in register prefixes everywhere.
2002-02-24 01:04:23 +00:00
matt
17a0652faf
Change the default entry for ELF.
2002-02-24 00:17:42 +00:00
matt
ae8db582d5
Add code to pass symbol table from loadfile to kernel.
2002-02-18 23:06:14 +00:00
lukem
971861de37
use ${INSTALL_FILE} as appropriate
2002-02-09 09:35:59 +00:00
matt
5887cef210
Don't install boot.mop if ELF.
2001-12-23 02:21:35 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
scw
45e7238a02
Bump the version numbers of all bootloaders which use loadfile_elfXX() now
...
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
bjh21
ad2c12a28d
Bump version numbers of all bootloaders that use loadfile/ELF, to account for
...
my changes to symbol loading. I should probably have done this at the time,
but it's better late than never.
2001-08-02 12:24:05 +00:00
wiz
e11d04474c
issueing -> issuing
2001-07-26 22:55:12 +00:00
wiz
30b2bf87ed
Various typos in comments (neccessary, sceme, choise, ...).
2001-07-26 15:05:07 +00:00
ragge
f0870603cb
Remove forgotten VAX_BTYP_690. From Michael Kukat.
2001-05-04 14:13:50 +00:00
matt
1d9ed205f2
change to let make obj work right with MAKEOBJDIRPREFIX and read-only source
2001-05-03 05:23:29 +00:00
matt
62b9bd04b1
Pass the numbers of syms down as well.
2001-05-02 15:33:14 +00:00
matt
4bef52d8d5
Use loadfile with boot commands, not exec.
2001-05-02 06:56:54 +00:00
matt
4414a7f791
Keep around a version of boot with symbols.
2001-05-02 06:56:29 +00:00
ragge
68cb5a262d
Do not (try to) remap the qbus on MV1.
2001-05-01 13:08:09 +00:00
matt
96184e84cf
Add a diagnostic when we encounter an unknown boot device type.
2001-03-20 05:51:35 +00:00