matt
a484b6a3f3
Add -fno-pic to CFLAGS and AFLAGS
2007-03-31 06:03:13 +00:00
ragge
ef1bc24053
Link the boot loader for address 4M-64k, as requested by Hans Rosenfeld.
...
It's not likely that a vax has less than 4MB of memory today, if someone
has a small-memory-machine he have to recompile boot himself.
2007-03-13 17:54:07 +00:00
christos
47c1e3335d
another caddr_t botch
2007-03-05 20:53:34 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
matt
3d1a5167c6
Define LIBCRTBEGIN/LIBCRTEND so we don't need to build userland before
...
building the bootloaders.
2006-09-06 00:31:22 +00:00
mrg
5bf1ad3744
fix pointer signedness and build with GCC4.
2006-07-01 05:55:34 +00:00
he
9c72169b1f
Correct mistakes I made when getting rid of lvalue casts.
2006-06-11 08:35:00 +00:00
he
34155cf541
Correct a mistake I introduced when getting rid of lvalue casts.
2006-06-11 08:29:03 +00:00
he
bc5f506d49
Get rid of another instance of an lvalue cast.
2006-06-08 08:18:13 +00:00
he
6f8829a0d2
Get rid of lvalue casts by either using an extra temporary variable
...
or by using the appropriate casts in the first place.
2006-06-08 07:03:11 +00:00
mrg
db19e89e04
remove support for building (with) GCC 2.95. also:
...
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
2006-06-02 22:16:18 +00:00
mrg
0db1500b43
retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.
2006-04-07 19:38:58 +00:00
sekiya
11927f82ba
The network bootloader entry point should be nisse(), not start(). Fixes a
...
very long-standing netboot issue.
Patch contributed by Hans Rosenfeld.
2006-03-08 09:32:22 +00:00
he
a9950f604e
Track latest changes elsewhere: free() is now dealloc(), and alloc/dealloc
...
size argument is now a size_t.
2006-01-27 07:33:47 +00:00
perry
2d65de2479
bare asm -> __asm
2005-12-24 22:45:33 +00:00
perry
5f1c88d70d
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:06:46 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
he
d13dea3067
Make it possible to use <sys/disklabel.h> from assembly source by
...
introducing OMIT_DKTYPENUMS and OMIT_FSTYPENUMS, which omits the
declaration of the enums. Use this in the vax boot code to make
it build again. Also use __CONCAT() instead of ##.
2005-10-21 21:10:45 +00:00
junyoung
d0824fcff5
Use the form of #include <...> rather than #include "..." for headers of
...
which paths don't start from the current directory.
2005-06-27 11:28:51 +00:00
junyoung
15991bc98b
Remove trailing spaces.
2005-06-27 11:27:17 +00:00
junyoung
e1aeee0597
Use the form of #include <...> rather than #include "..." for headers of
...
which paths don't start from the current directory.
2005-06-27 11:26:02 +00:00
junyoung
24833b0bc4
Remove trailing spaces.
2005-06-27 11:21:25 +00:00
junyoung
17670568fe
Use FS_OPS() macro.
2005-06-23 19:44:00 +00:00
matt
4f9c0f6775
Add ${_MKTARGET_LINK} to the link step
2004-04-21 22:01:44 +00:00
wiz
f582138c1b
Uppercase CPU.
2004-02-13 10:11:56 +00:00
matt
ecdec9d579
Add proper boot/autoconf support for SDN devices. Take from Hugh Graham;
...
see http://mail-index.netbsd.org/port-vax/2002/06/28/0005.html
2004-01-06 17:01:48 +00:00
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