Commit Graph

93 Commits

Author SHA1 Message Date
bouyer
ca16b3dee1 Add libsa's files.c to list of sources, so that files[] exists. 2002-04-18 15:39:02 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
tv
48c09b6243 Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
include paths.
2001-11-14 23:01:13 +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
thorpej
4810d73020 Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
objects.
2001-10-31 01:51:42 +00:00
tsutsui
34cc09d49b Move some sources from SRC_kern to SRC_sa.
They are in both libsa and libkern, but .PATH searches libsa first.
2001-10-07 05:00:28 +00:00
tsutsui
9bd648eb07 Build sa programs with -Os. 2001-10-07 04:50:40 +00:00
chs
7491bc8eea add ashldi3.c, needed by ufs.c due to added cast in lblktosize(). 2001-10-02 06:30:03 +00:00
chs
e5c9089c28 fix typo. 2001-09-11 07:30:51 +00:00
tsutsui
0427bd63a4 Remove register prefixes. 2001-09-05 13:35:30 +00:00
tsutsui
fb91456ba6 vm_offset_t -> vaddr_t 2001-09-05 13:31:36 +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
chs
75b9f41751 adjust the hack to build the SRT*.o files. 2001-07-30 00:10:20 +00:00
fredette
ee50c275ca Put longjmp's return value in the proper %d0. 2001-05-10 16:50:22 +00:00
chs
ded6fe39cd bump version to 1.9: ELF and MI loadfile(). 2001-03-26 15:36:48 +00:00
tsutsui
7e28d29b32 - MI loadfile() returns a file descriptor, not errno.
(error is printed in MI loadfile() anyway)
- Make sure to try to load all default kernel names,
  including netbsd.sun3[x].

Now sun3 ELF based miniroot works properly on my 3/80.
2001-03-26 11:54:50 +00:00
tsutsui
45480ac3bc Move rules to create m68k and machine symlinks to common Makefile.inc. 2001-03-21 13:43:58 +00:00
tsutsui
650e6506dc Remove "NOxxx= yes" lines since "MKxxx= no" is enough. 2001-03-21 11:02:24 +00:00
chs
c6798f2107 add vers.c to CLEANFILES. 2001-02-26 01:42:51 +00:00
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
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
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
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
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
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
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
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
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