chs
a95226826d
switch sun3 to ELF. highlight include:
...
add "%" prefix to register names in assembly code.
change assembly functions to return values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.
2001-02-22 07:11:08 +00:00
jmc
5b5b0dfdcb
Add back proginstall rule so this doesn't get it's a.out header removed.
2001-02-13 03:08:54 +00:00
jmc
e1fb29e236
Make targets proper so this builds both as a make with no args, make all
...
or make dependall (without the latter snapshot builds break).
Also, change the build layout for the 2 standalone objs.
XXX - Add them to LOBJS. (We're not building lint libraries, but having them
in LOBJS and MKLINT=no results in objects building anyways. This needs to be
cleaner but nothing in the standard mk files jumps out as "other object files")
2001-02-04 08:59:57 +00:00
jmc
17a976fa32
Make targets proper so this builds both as a make with no args, make all
...
or make dependall (without the latter snapshot builds break).
Also, add udp.c into the SRCS list. rpc.c calls routines from it.
2001-02-04 08:57:52 +00:00
jmc
243eb5180a
Make targets proper so this builds both as a make with no args, make all
...
or make dependall (without the latter snapshot builds break).
2001-02-04 08:57:21 +00:00
jdolecek
77c0fe57cf
convert to use version template and newvers_stand.sh script for generating
...
bootblock revision strings, use bootbock_name[] (i.e. "NetBSD/sun3")
in initial bootblock messages instead of just "NetBSD"
while here, do sligh Makefile cleanup to share more code between them and also
to make buildable on NetBSD 1.4.1 (my test compile system)
get rid of the XX define hack for netboot & ufsboot, build xxboot.c as
part of libsa - previos main() was renamed to xxboot_main(), main()
is now in respective conf.c files and calls xxboot_main() with
appropriate name of boot block type
XXX I had no chance to actually test the resulting bootblocks, but the
changes were fairly streightforward and should no influence functionality of
boot code
2000-07-16 21:56:12 +00:00
mycroft
7b49d242ce
Clean up the machine symlink stuff ever so slightly. Needs to be
...
standardized between files.
2000-01-23 17:04:03 +00:00
jeremy
d6a3f7a016
Added inet_addr.c to the list of required modules from the kernel stand
...
library.
1999-12-17 07:28:01 +00:00
gwr
3828f3a600
Add idprom.c and libsa files that are now separate
...
(sprintf.c subr_prf.c ...)
1999-03-04 08:19:38 +00:00
gwr
8cf14656b3
On Sun3X machines, use the PROM sif_macaddr function,
...
but only on PROM 3.0 or later. With older PROMs, ask
the idprom module to find it (just like on the Sun3).
1999-03-04 08:13:42 +00:00
gwr
631e2be71e
Separate checksum function from the fetch/copy functions.
...
Compute the checksum on only IDPROM_CKSUM_SIZE bytes.
1999-03-04 08:06:59 +00:00
gwr
78eab1b1b9
Replace sun3_etheraddr with sun3_getidprom (used by idprom.c)
1999-03-04 07:56:41 +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
pk
c2b3e6490b
Assign my copyrights to TNF.
1998-09-05 15:28:07 +00:00
pk
a51c63c933
Assign my copyrights to TNF.
1998-09-05 15:28:06 +00:00
gwr
76cd67b8c7
Allow netif_getether() to use sif->sif_macaddr() on the Sun-3X
...
but check the PROM rev first, and print some info I want when
a PROM earlier than 3.0 is found. (Then just try it!)
1998-07-02 21:58:25 +00:00
gwr
4b50f96523
Add strncmp.c
1998-07-02 21:36:00 +00:00
gwr
efa0b5e2f5
fix the comment
1998-07-01 23:12:42 +00:00
gwr
294fa42b6c
Use the shared ../libsa/xxboot.c
1998-07-01 22:56:45 +00:00
gwr
c426f6cd97
Replace {net,ufs}boot/boot.c with a shared libsa/xxboot.c
1998-07-01 22:51:43 +00:00
gwr
c80e8cd6ef
Note recent changes. (and bump CVS revsion here)
1998-06-29 20:33:03 +00:00
gwr
8db8875feb
Add a comment, kill an unused variable.
1998-06-29 20:18:07 +00:00
gwr
b339af5461
Support multiple file open attempts without closing and reopening
...
the underlying raw device (which is expensive and causes problems).
This allows the boot program to try a sequence of names by default,
which is used to support common boot media for sun3 and sun3x.
(Now tries "netbsd.$arch" before "netbsd")
1998-06-29 20:17:03 +00:00
gwr
8261ec142f
Minor tweaks for consistency with the other boot programs.
1998-06-29 20:11:06 +00:00
gwr
762cfeb615
Reimplement the header strip using two instances of dd in a pipe,
...
so it works with a dd that does not know conv=osync (i.e. Solaris).
1998-06-29 20:09:14 +00:00
gwr
2c0ea58240
Fix "integer overflow" error.
1998-06-29 20:06:34 +00:00
gwr
e49744ee1c
Get rid of user-level includes.
...
Do not reset the I/F on timeout.
Kill some old debug code.
1998-06-29 20:05:36 +00:00
gwr
efb1b0549a
Declare load_sun()
1998-06-29 20:03:14 +00:00
gwr
57a3ff9f72
Add load_sun() which does the guts of exec_sun() but lets
...
the caller do the file open/close and control transfer.
1998-06-29 20:02:49 +00:00
fair
508c432635
apparently {set,long}jmp() are not used by the sa code any more.
1998-06-26 08:59:03 +00:00
gwr
1284f08847
Make this match ../libsa/dev_disk.c
1998-03-16 14:49:26 +00:00
fair
c89e1afb8b
saio.h is in ../libsa/, not <machine> and the Makefile does the right thing with -I, so fix compile error
1998-03-15 02:28:19 +00:00
cgd
9da165424c
allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf
1998-03-02 19:57:00 +00:00
cgd
0924c4443d
Make sure the reason that NOLINT is set is documented. Additionally
...
in places where it should be set (or has to be set right now), do so.
1998-02-19 02:17:05 +00:00
gwr
eff2e270bd
Merge arch/sun3x into arch/sun3
1998-02-05 04:56:24 +00:00
gwr
995291fbac
Deal with the fact that PROM driver descriptors are allowed to have
...
zero-length list of "standard addresses" by ignoring d_devbytes if
there are no addresses provided. In these cases, the PROM will map
the device without our help.
1998-01-26 22:02:17 +00:00
gwr
2628e0df8a
Add the sif_macaddr member to struct saif, which can be used
...
in version 3.X PROMs (gets our Ethernet address).
1998-01-18 05:24:38 +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
gwr
3d76b19e4b
Add idprom.c
1997-10-17 04:26:10 +00:00
gwr
297a7bfa90
Move IDPROM stuff from netif_sun.c to idprom.c where it belongs.
1997-10-17 04:06:23 +00:00
gwr
81bc13db4b
Need to flush the I-cache before jumping into just-loaded code.
...
Without this, boot programs fail with some PROM versions...
1997-10-06 19:37:26 +00:00
gwr
8b680f206c
Need to flush the I-cache before jumping into just-loaded code.
...
Without this, boot programs fail with some PROM versions...
1997-09-18 01:47:08 +00:00
gwr
d2e3710fa9
Cosmetic (s/sun3_/_/) to be closer to the sun3x version.
1997-09-05 04:51:06 +00:00
gwr
c04589c8a8
Make stand/Makefile.inc work with obj directories. (Fixes PR 4014)
1997-09-05 04:31:50 +00:00
drochner
bdb232d2b6
Don't use <lib/libsa/if_ether.h> anymore. This was a copy of the
...
old (before ARP changes) <netinet/if_ether.h>, intended for
temporary use.
1997-07-22 17:41:01 +00:00
mrg
71ee532c82
move man pages into share/man.
1997-06-22 06:25:58 +00:00
veego
6bdd438fca
s/_round_page/m68k_round_page/
1997-06-10 19:27:08 +00:00
cjs
7a66732d34
Back out BUILDDIR and NOINSTALL changes.
1997-05-31 21:21:13 +00:00
cjs
83498d7e88
Remove empty libinstall target and add NOINSTALL=1.
1997-05-30 13:43:06 +00:00