Home | History | Annotate | only in /src/sys/arch/atari/stand/libsa
History log of /src/sys/arch/atari/stand/libsa
RevisionDateAuthorComments
 1.31 27-May-2010  dholland Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc.
trees, because it can race with the libsa/libkern/etc. makefiles' own
cleandir rules. I think I've found all of the uses of the offending idiom...
Closes PR 43360.
 1.30 31-Mar-2009  tsutsui branches: 1.30.2; 1.30.4;
Switch atari standalone bootloaders to using MI libsa and libkern.

Tested by David Ross on port-atari@. Thanks!
 1.29 19-Mar-2009  tsutsui Remove bcmp() from MD libsa.

XXX: These ports should be rewritten to use MI libsa for maintainability.
 1.28 06-Jan-2009  tsutsui branches: 1.28.2;
Fix PR port-atari/40315: Bootloader fails on Atari TT030
Add asm sources which provide a fixed entry point for raw bootxx and bootxxx
because modern aggressive gcc4 may reorder functions in the same source
and the first function in a C source won't always appear at the beginning
in its object.

Also overhaul various files in the stand directory:
- rename stand/Makefile.inc to stand/Makefile.booters and
explicitly include it from each Makefile because the stand
directory contains non standalone programs like installboot and
Makefile.inc will be included implicitly from all Makefiles in SUBDIRs
- put more common options into Makefile.booters so that
all boot programs use proper options (-Os etc.)
- make standalone boot programs compile without installed ${DESTDIR}:
- create machine and m68k symlinks in ${.OBJDIR} in all boot programs
- set appropriate make environments to suppress errors and warnings
- <string.h> isn't there in _STANDALONE case
- put #ifdef TOSTOOLS (looks equivarent with !_STANDALONE)
to some files in stand/tostools
- use ${LD} ${LINKFLAGS} rather than ${CC} ${LDFLAGS}
- create raw binaries on ${PROG} target rather than on beforeinstall
and stop weird renaming on beforeinstall and afterinstall
- print proper error message if bootxx size is larger than limit
- create ${DESTDIR}/usr/mdec/{milan,std} directories on beforeinstall
in all boot programs
(XXX: how can we put MD /usr/mdec/foo directories into src/etc/mtree?)
- prototype warnsfy
- cleanup Makefiles for readablity and remove unnecessary rules
- no need to use daddr_t in installboot because the AHDI label doesn't
support 64 bit block numbers

Tested by David Ross (PR submitter) on port-atari, and
finally NetBSD/atari on TT030 is now fully functional.

Should be pulled up to netbsd-4 (where gcc4 was initially imported)
and netbsd-5.
 1.27 30-Dec-2005  he branches: 1.27.24; 1.27.74; 1.27.78; 1.27.86; 1.27.88;
Make this build again by using ${S}/../common/lib/libc/Makefile.inc.
 1.26 11-Dec-2005  christos merge ktrace-lwp.
 1.25 28-Jun-2005  junyoung branches: 1.25.2;
Sync comment with reality.
While here, remove trailing spaces.
 1.24 14-Jun-2005  jmc add memcmp. Why doesn't this use the regular libsa pullover?
 1.23 28-Oct-2003  he Add -ffreestanding to CFLAGS, so that libsa prototypes do not conflict
with otherwise built-in functions and prototypes in the new gcc.
 1.22 29-Aug-2003  dsl libsa/bcmp.c now defines both bcmp and memcmp
 1.21 24-Aug-2003  he The new ufs.o also needs memset, so add it.
 1.20 21-Aug-2003  he Add memcmp, memmove and bcmp to handle the new ufs.c.
 1.19 01-Apr-2003  he branches: 1.19.2;
Undo the last; adding the quad arithmetic caused the boot code to
overflow. Instead do as the mvme68k port, and use 32-bit daddr_t here.
 1.18 01-Apr-2003  he Adapt to daddr_t being bumped to 64 bits. This required us to add
div/mod quad operations to libsa, and adjusting a pair of format specifiers.
 1.17 05-May-2002  jdolecek also don't make the machine symlinks for 'clean' target
move the CLEANFILES update out of the .if, so that the files get removed
for 'clean' or 'cleandir'
 1.16 05-May-2002  jdolecek Don't make the machine symlinks for 'cleandir' target either. This
should fix read-only source builds.

XXX Perhaps the condition should be changed to
XXX .if make(depend) || make(all) || make(dependall)
XXX similarily to bsd.kmod.mk?
 1.15 08-Apr-2002  bjh21 Add files.c to SRCS, since other bits of libsa want it.
 1.14 11-Mar-2002  leo Take care of the 'machine' and 'm68k' include paths.
Copied verbatim from the x68k/stand/libsa/Makefile.
 1.13 12-Dec-2001  tv MKfoo=no -> NOfoo
 1.12 14-Nov-2001  tv Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
include paths.
 1.11 13-Oct-2001  leo branches: 1.11.4;
We need a configurable heap now (that implies we need panic.c too....).
 1.10 02-Oct-2001  chs add ashldi3.c, needed by ufs.c due to added cast in lblktosize().
 1.9 08-Sep-2001  thomas ELF adaption.
 1.8 15-Mar-1999  leo branches: 1.8.20; 1.8.22;
We need more 'stand' functions (From Julian Coleman).
 1.7 19-Feb-1999  leo STANDALONE -> _STANDALONE per recent discussion.
 1.6 13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.5 31-May-1997  cjs Back out BUILDDIR and NOINSTALL changes.
 1.4 30-May-1997  cjs Remove empty libinstall target and add NOINSTALL=1.
 1.3 07-May-1997  mycroft Use libinstall::, not install:, to prevent instaling LIB.
 1.2 14-May-1996  leo Update to make this work correctly when using an obj-directory.
 1.1 29-Feb-1996  leo branches: 1.1.1;
Initial revision
 1.1.1.1 29-Feb-1996  leo NetBSD/Atari bootcode by Waldi Ravens.
 1.8.22.4 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.8.22.3 16-Mar-2002  jdolecek Catch up with -current.
 1.8.22.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.8.22.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.8.20.2 11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.8.20.1 01-Oct-2001  fvdl Catch up with -current.
 1.11.4.5 20-Jun-2002  nathanw Catch up to -current.
 1.11.4.4 17-Apr-2002  nathanw Catch up to -current.
 1.11.4.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.11.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.11.4.1 13-Oct-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:23:40 +0000
 1.19.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.19.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.19.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.19.2.1 03-Aug-2004  skrll Sync with HEAD
 1.25.2.1 21-Jun-2006  yamt sync with head.
 1.27.88.1 16-Jan-2009  bouyer Pull up following revision(s) (requested by tsutsui in ticket #274):
sys/arch/atari/stand/xxboot/Makefile.xxboot: revision 1.5
sys/arch/atari/stand/tostools/libtos/libtos.h: revision 1.5
sys/arch/atari/stand/installboot/disklabel.c: revision 1.3
sys/arch/atari/stand/bootxxx/Makefile.bootxxx: revision 1.4, 1.5
sys/arch/atari/stand/libsa/Makefile: revision 1.28
sys/arch/atari/stand/bootxx/start.S: revision 1.1
distrib/utils/sysinst/arch/atari/md.c: revision 1.23
sys/arch/atari/stand/bootxx/Makefile.bootxx: revision 1.8
sys/arch/atari/stand/tostools/libtos/aout.c: revision 1.11
sys/arch/atari/stand/installboot/installboot.h: revision 1.9
sys/arch/atari/stand/bootxxx/bootxxx.c: revision 1.4
sys/arch/atari/stand/Makefile.inc: file removal
distrib/sets/lists/base/md.atari: revision 1.50
sys/arch/atari/stand/Makefile.booters: revision 1.1
sys/arch/atari/stand/bootxx/bootxx.c: revision 1.13
sys/arch/atari/stand/installboot/installboot.c: revision 1.22
sys/arch/atari/stand/tostools/libtos/elf.c: revision 1.9
sys/arch/atari/stand/tostools/libtos/sysinfo.c: revision 1.8
sys/arch/atari/stand/bootxxx/start.S: revision 1.1
Fix PR port-atari/40315: Bootloader fails on Atari TT030
Add asm sources which provide a fixed entry point for raw bootxx and bootxxx
because modern aggressive gcc4 may reorder functions in the same source
and the first function in a C source won't always appear at the beginning
in its object.
Also overhaul various files in the stand directory:
- rename stand/Makefile.inc to stand/Makefile.booters and
explicitly include it from each Makefile because the stand
directory contains non standalone programs like installboot and
Makefile.inc will be included implicitly from all Makefiles in SUBDIRs
- put more common options into Makefile.booters so that
all boot programs use proper options (-Os etc.)
- make standalone boot programs compile without installed ${DESTDIR}:
- create machine and m68k symlinks in ${.OBJDIR} in all boot programs
- set appropriate make environments to suppress errors and warnings
- <string.h> isn't there in _STANDALONE case
- put #ifdef TOSTOOLS (looks equivarent with !_STANDALONE)
to some files in stand/tostools
- use ${LD} ${LINKFLAGS} rather than ${CC} ${LDFLAGS}
- create raw binaries on ${PROG} target rather than on beforeinstall
and stop weird renaming on beforeinstall and afterinstall
- print proper error message if bootxx size is larger than limit
- create ${DESTDIR}/usr/mdec/{milan,std} directories on beforeinstall
in all boot programs
(XXX: how can we put MD /usr/mdec/foo directories into src/etc/mtree?)
- prototype warnsfy
- cleanup Makefiles for readablity and remove unnecessary rules
- no need to use daddr_t in installboot because the AHDI label doesn't
support 64 bit block numbers
Tested by David Ross (PR submitter) on port-atari, and
finally NetBSD/atari on TT030 is now fully functional.
Should be pulled up to netbsd-4 (where gcc4 was initially imported)
and netbsd-5.
Don't install built boot.atari loaders into / of DESTDIR because
there are two variants of boot.atari per machine types (std or milan)
and they should be selected and copied from /usr/mdec/{std,milan} dirs
to /targetroot during installation.
Problem on default installation with sysinst was reported by David Ross.
Remove /boot.atari, which is no longer installed during build
and removed from base.tgz.
Note we must not mark this obsolete because this tertiary bootloader
will be copied into / during installation and it shouldn't be removed
by postinstall(8).
Before installboot(8), check running machine types (milan or others)
via sysctl(3) and copy appropriate tertiary boot.atari loader
from /usr/mdec/{std,milan} into targetroot.
Full fresh installations of 5.0_BETA and 4.0_STABLE with the same change
have been tested by David Ross on port-atari.
Fixes the final portion of PR port-atari/40315, and
pullup requests to both netbsd-4 and netbsd-5 will be sent shortly.
 1.27.86.2 28-Apr-2009  skrll Sync with HEAD.
 1.27.86.1 19-Jan-2009  skrll Sync with HEAD.
 1.27.78.2 11-Aug-2010  yamt sync with head.
 1.27.78.1 04-May-2009  yamt sync with head.
 1.27.74.1 17-Jan-2009  mjf Sync with HEAD.
 1.27.24.1 15-Jan-2009  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1263):
sys/arch/atari/stand/xxboot/Makefile.xxboot: revision 1.5
sys/arch/atari/stand/tostools/libtos/libtos.h: revision 1.5
sys/arch/atari/stand/installboot/disklabel.c: revision 1.3
sys/arch/atari/stand/bootxxx/Makefile.bootxxx: revision 1.4
sys/arch/atari/stand/bootxxx/Makefile.bootxxx: revision 1.5
sys/arch/atari/stand/libsa/Makefile: revision 1.28
sys/arch/atari/stand/bootxx/start.S: revision 1.1
distrib/utils/sysinst/arch/atari/md.c: revision 1.23
sys/arch/atari/stand/bootxx/Makefile.bootxx: revision 1.8
sys/arch/atari/stand/tostools/libtos/aout.c: revision 1.11
sys/arch/atari/stand/installboot/installboot.h: revision 1.9
sys/arch/atari/stand/bootxxx/bootxxx.c: revision 1.4
distrib/sets/lists/base/md.atari: revision 1.50
sys/arch/atari/stand/Makefile.booters: revision 1.1
sys/arch/atari/stand/bootxx/bootxx.c: revision 1.13
sys/arch/atari/stand/installboot/installboot.c: revision 1.22
sys/arch/atari/stand/tostools/libtos/elf.c: revision 1.9
sys/arch/atari/stand/tostools/libtos/sysinfo.c: revision 1.8
sys/arch/atari/stand/bootxxx/start.S: revision 1.1
Fix PR port-atari/40315: Bootloader fails on Atari TT030
Add asm sources which provide a fixed entry point for raw bootxx and bootxxx
because modern aggressive gcc4 may reorder functions in the same source
and the first function in a C source won't always appear at the beginning
in its object.
Also overhaul various files in the stand directory:
- rename stand/Makefile.inc to stand/Makefile.booters and
explicitly include it from each Makefile because the stand
directory contains non standalone programs like installboot and
Makefile.inc will be included implicitly from all Makefiles in SUBDIRs
- put more common options into Makefile.booters so that
all boot programs use proper options (-Os etc.)
- make standalone boot programs compile without installed ${DESTDIR}:
- create machine and m68k symlinks in ${.OBJDIR} in all boot programs
- set appropriate make environments to suppress errors and warnings
- <string.h> isn't there in _STANDALONE case
- put #ifdef TOSTOOLS (looks equivarent with !_STANDALONE)
to some files in stand/tostools
- use ${LD} ${LINKFLAGS} rather than ${CC} ${LDFLAGS}
- create raw binaries on ${PROG} target rather than on beforeinstall
and stop weird renaming on beforeinstall and afterinstall
- print proper error message if bootxx size is larger than limit
- create ${DESTDIR}/usr/mdec/{milan,std} directories on beforeinstall
in all boot programs
(XXX: how can we put MD /usr/mdec/foo directories into src/etc/mtree?)
- prototype warnsfy
- cleanup Makefiles for readablity and remove unnecessary rules
- no need to use daddr_t in installboot because the AHDI label doesn't
support 64 bit block numbers
Tested by David Ross (PR submitter) on port-atari, and
finally NetBSD/atari on TT030 is now fully functional.
Should be pulled up to netbsd-4 (where gcc4 was initially imported)
and netbsd-5.
Don't install built boot.atari loaders into / of DESTDIR because
there are two variants of boot.atari per machine types (std or milan)
and they should be selected and copied from /usr/mdec/{std,milan} dirs
to /targetroot during installation.
Problem on default installation with sysinst was reported by David Ross.
Remove /boot.atari, which is no longer installed during build
and removed from base.tgz.
Note we must not mark this obsolete because this tertiary bootloader
will be copied into / during installation and it shouldn't be removed
by postinstall(8).
Before installboot(8), check running machine types (milan or others)
via sysctl(3) and copy appropriate tertiary boot.atari loader
from /usr/mdec/{std,milan} into targetroot.
Full fresh installations of 5.0_BETA and 4.0_STABLE with the same change
have been tested by David Ross on port-atari.
Fixes the final portion of PR port-atari/40315, and
pullup requests to both netbsd-4 and netbsd-5 will be sent shortly.
 1.28.2.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.30.4.1 30-May-2010  rmind sync with head
 1.30.2.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.3 12-Aug-2015  tsutsui No need to have errno in a MD file. It's in MI src/sys/lib/libsa/errno.c.
 1.2 30-Jun-2011  wiz branches: 1.2.12; 1.2.30;
dependant -> dependent
 1.1 31-Mar-2009  tsutsui branches: 1.1.2; 1.1.4; 1.1.6;
Switch atari standalone bootloaders to using MI libsa and libkern.

Tested by David Ross on port-atari@. Thanks!
 1.1.6.2 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.6.1 31-Mar-2009  jym file Makefile.inc was added on branch jym-xensuspend on 2009-05-13 17:16:32 +0000
 1.1.4.2 04-May-2009  yamt sync with head.
 1.1.4.1 31-Mar-2009  yamt file Makefile.inc was added on branch yamt-nfs-mp on 2009-05-04 08:10:49 +0000
 1.1.2.2 28-Apr-2009  skrll Sync with HEAD.
 1.1.2.1 31-Mar-2009  skrll file Makefile.inc was added on branch nick-hppapmap on 2009-04-28 07:33:54 +0000
 1.2.30.1 22-Sep-2015  skrll Sync with HEAD
 1.2.12.1 03-Dec-2017  jdolecek update from HEAD
 1.3 20-Oct-2009  snj Remove 3rd and 4th clause on Leo Weppelman's license. OK leo@.
 1.2 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.1 28-Jun-1997  leo branches: 1.1.162; 1.1.170; 1.1.176;
Add 'libsa/atari_stand.h' that defines atari specific things. This allows
for a removal of our own copy of stand.h which was out-of-date by definition.
 1.1.176.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.170.1 28-Apr-2009  skrll Sync with HEAD.
 1.1.162.2 11-Mar-2010  yamt sync with head
 1.1.162.1 04-May-2009  yamt sync with head.
 1.1 08-Sep-2001  thomas branches: 1.1.2; 1.1.4; 1.1.8;
ELF adaption.
 1.1.8.2 08-Sep-2001  thomas ELF adaption.
 1.1.8.1 08-Sep-2001  thomas file consio.S was added on branch nathanw_sa on 2001-09-08 11:21:03 +0000
 1.1.4.2 01-Oct-2001  fvdl Catch up with -current.
 1.1.4.1 08-Sep-2001  fvdl file consio.S was added on branch thorpej-devvp on 2001-10-01 12:38:17 +0000
 1.1.2.2 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.1.2.1 08-Sep-2001  thorpej file consio.S was added on branch kqueue on 2001-09-13 01:13:22 +0000
 1.2 08-Sep-2001  thomas ELF adaption.
 1.1 29-Feb-1996  leo branches: 1.1.1;
Initial revision
 1.1.1.1 29-Feb-1996  leo branches: 1.1.1.1.42; 1.1.1.1.44;
NetBSD/Atari bootcode by Waldi Ravens.
 1.1.1.1.44.1 13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.1.1.1.42.1 01-Oct-2001  fvdl Catch up with -current.
 1.5 12-Aug-2015  tsutsui No need to have errno in a MD file. It's in MI src/sys/lib/libsa/errno.c.
 1.4 11-Dec-2005  christos branches: 1.4.122; 1.4.142;
merge ktrace-lwp.
 1.3 28-Jun-2005  junyoung #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.2 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.1 29-Feb-1996  leo branches: 1.1.1;
Initial revision
 1.1.1.1 29-Feb-1996  leo branches: 1.1.1.1.64;
NetBSD/Atari bootcode by Waldi Ravens.
 1.1.1.1.64.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.1.1.1.64.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.1.1.64.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.1.1.64.1 03-Aug-2004  skrll Sync with HEAD
 1.4.142.1 22-Sep-2015  skrll Sync with HEAD
 1.4.122.1 03-Dec-2017  jdolecek update from HEAD
 1.9 17-May-2021  mrg include libkern.h to get moved dkcksum() definition.
 1.8 17-Mar-2009  he branches: 1.8.80; 1.8.82;
Make a couple of functions conform to the prototype, restoring buildability.
 1.7 14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.6 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.5 04-Aug-2006  mhitch branches: 1.5.62; 1.5.70; 1.5.76;
gcc4 fix: static devsw didn't match the prototype.
 1.4 11-Dec-2005  christos branches: 1.4.4; 1.4.8;
merge ktrace-lwp.
 1.3 28-Jun-2005  junyoung branches: 1.3.2;
#include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.2 28-Jun-1997  leo branches: 1.2.56;
Add 'libsa/atari_stand.h' that defines atari specific things. This allows
for a removal of our own copy of stand.h which was out-of-date by definition.
 1.1 29-Feb-1996  leo branches: 1.1.1;
Initial revision
 1.1.1.1 29-Feb-1996  leo NetBSD/Atari bootcode by Waldi Ravens.
 1.2.56.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.3.2.1 30-Dec-2006  yamt sync with head.
 1.4.8.1 11-Aug-2006  yamt sync with head
 1.4.4.1 09-Sep-2006  rpaulo sync with head
 1.5.76.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.5.70.1 28-Apr-2009  skrll Sync with HEAD.
 1.5.62.1 04-May-2009  yamt sync with head.
 1.8.82.1 31-May-2021  cjep sync with head
 1.8.80.1 17-Jun-2021  thorpej Sync w/ HEAD.
 1.2 28-Jun-1997  leo Add 'libsa/atari_stand.h' that defines atari specific things. This allows
for a removal of our own copy of stand.h which was out-of-date by definition.
 1.1 29-Feb-1996  leo branches: 1.1.1;
Initial revision
 1.1.1.1 29-Feb-1996  leo NetBSD/Atari bootcode by Waldi Ravens.

RSS XML Feed