Home | History | Annotate | only in /src/sys/arch/mvme68k/stand/libbug
History log of /src/sys/arch/mvme68k/stand/libbug
RevisionDateAuthorComments
 1.18 21-Nov-2014  christos We don't need a special rule now that the file is called .S (having a
just .o rule before broke the MKDEBUG build).
 1.17 21-Nov-2014  christos rename to bugstart.S
 1.16 21-Jan-2011  joerg branches: 1.16.14;
Switch remaining platforms to modern CPP for assembler.
 1.15 06-Dec-2009  tsutsui branches: 1.15.4; 1.15.6; 1.15.8;
Put asm objects into OBJS, not dependencies for all target.
 1.14 12-Dec-2001  tv branches: 1.14.122;
MKfoo=no -> NOfoo
 1.13 14-Nov-2001  tv Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
include paths.
 1.12 05-Dec-2000  scw branches: 1.12.4; 1.12.8;
Replace the startup C code with assembler, which avoids having to
explicitly tell the compiler what registers the Bug args come in on.
 1.11 04-Dec-2000  scw Use -fomit-frame-pointer when compiling bugcrt.c; a6 needs to be reserved
for Bug arguments.
 1.10 28-Jul-2000  scw Really make this work for `dependall'. Also strip bootst.bug before
running it through wrtvid.
 1.9 27-Jul-2000  scw Make these work for the `dependall' target.
 1.8 24-Jul-2000  jdolecek cleanup Makefiles, put common stuff to Makefile.booters, ditch unnecessary
stuff
make this all compile with -Wall -Wno-main -Wmissing-prototypes
-Wstrict-prototypes -Werror , also compilable on 1.4.1
label itself as NetBSD/mvme68k instead of "BSD" in bootblock message
move bugcrt.c to libbug, remove bugcrt directory (bugcrt is still built
and used separately to rest of libbug)
convert sboot to use ordinary mvme68 libsa, instead of copying needed
stuff in libc_sa.c
convert to use version info generated by sys/conf/newvers_stand.sh
instead of previous version.c files, add necessary 'version' files
put chiptotime() to separate libsa file (used also by sboot/clock.c)

Thanks to Steve Woodford for help with this. Note that -current build
might be hosed by this change, will be addressed by Steve shortly.
 1.7 13-Feb-1999  lukem branches: 1.7.8;
convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.6 01-Aug-1998  scw Changes to keep lint happy.
In particular, fix some Makefiles so the include
paths are passed to lint.
 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 17-May-1996  chuck update for libbug.h, console I/O
 1.1 17-May-1996  chuck libbug from Dale Rahn. Revisions by Theo de Raadt and myself.
 1.7.8.2 08-Dec-2000  bouyer Sync with HEAD.
 1.7.8.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.12.8.1 08-Jan-2002  nathanw Catch up to -current.
 1.12.4.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.14.122.1 11-Mar-2010  yamt sync with head
 1.15.8.1 08-Feb-2011  bouyer Sync with HEAD
 1.15.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.15.4.1 05-Mar-2011  rmind sync with head
 1.16.14.1 03-Dec-2017  jdolecek update from HEAD
 1.5 24-Jul-2000  jdolecek cleanup Makefiles, put common stuff to Makefile.booters, ditch unnecessary
stuff
make this all compile with -Wall -Wno-main -Wmissing-prototypes
-Wstrict-prototypes -Werror , also compilable on 1.4.1
label itself as NetBSD/mvme68k instead of "BSD" in bootblock message
move bugcrt.c to libbug, remove bugcrt directory (bugcrt is still built
and used separately to rest of libbug)
convert sboot to use ordinary mvme68 libsa, instead of copying needed
stuff in libc_sa.c
convert to use version info generated by sys/conf/newvers_stand.sh
instead of previous version.c files, add necessary 'version' files
put chiptotime() to separate libsa file (used also by sboot/clock.c)

Thanks to Steve Woodford for help with this. Note that -current build
might be hosed by this change, will be addressed by Steve shortly.
 1.4 12-Jun-1998  cgd branches: 1.4.16;
replace ${MACHINE} with mvme68k, so that these Makefiles can safely
be run when MACHINE != mvme68k.
 1.3 07-May-1997  mycroft Add .MAKE to the .OBJDIR hacks, so they work with `make -n'.
 1.2 17-May-1996  chuck update for libbug.h, console I/O
 1.1 17-May-1996  chuck libbug from Dale Rahn. Revisions by Theo de Raadt and myself.
 1.4.16.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.5 12-Jan-2008  tsutsui Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.4 04-May-2002  scw branches: 1.4.26; 1.4.88; 1.4.94; 1.4.102;
Make sure main() has a prototype and a return type of "int".
 1.3 05-Dec-2000  scw branches: 1.3.4; 1.3.8;
Replace the startup C code with assembler, which avoids having to
explicitly tell the compiler what registers the Bug args come in on.
 1.2 30-Nov-2000  scw Support booting an ELF kernel, plus numerous tweaks due to
the gas.new/ELF transition.
 1.1 24-Jul-2000  jdolecek branches: 1.1.2;
cleanup Makefiles, put common stuff to Makefile.booters, ditch unnecessary
stuff
make this all compile with -Wall -Wno-main -Wmissing-prototypes
-Wstrict-prototypes -Werror , also compilable on 1.4.1
label itself as NetBSD/mvme68k instead of "BSD" in bootblock message
move bugcrt.c to libbug, remove bugcrt directory (bugcrt is still built
and used separately to rest of libbug)
convert sboot to use ordinary mvme68 libsa, instead of copying needed
stuff in libc_sa.c
convert to use version info generated by sys/conf/newvers_stand.sh
instead of previous version.c files, add necessary 'version' files
put chiptotime() to separate libsa file (used also by sboot/clock.c)

Thanks to Steve Woodford for help with this. Note that -current build
might be hosed by this change, will be addressed by Steve shortly.
 1.1.2.3 08-Dec-2000  bouyer Sync with HEAD.
 1.1.2.2 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.2.1 24-Jul-2000  bouyer file bugcrt.c was added on branch thorpej_scsipi on 2000-11-20 20:15:29 +0000
 1.3.8.1 20-Jun-2002  nathanw Catch up to -current.
 1.3.4.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.102.1 19-Jan-2008  bouyer Sync with HEAD
 1.4.94.1 18-Feb-2008  mjf Sync with HEAD.
 1.4.88.1 23-Mar-2008  matt sync with HEAD
 1.4.26.1 21-Jan-2008  yamt sync with head
 1.1 21-Nov-2014  christos branches: 1.1.18;
rename to bugstart.S
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 21-Nov-2014  jdolecek file bugstart.S was added on branch tls-maxphys on 2017-12-03 11:36:30 +0000
 1.3 21-Nov-2014  christos rename to bugstart.S
 1.2 14-Apr-2001  scw branches: 1.2.8; 1.2.174;
Fix bootline argument passing from the Bug PROM.
 1.1 05-Dec-2000  scw branches: 1.1.2; 1.1.4;
Replace the startup C code with assembler, which avoids having to
explicitly tell the compiler what registers the Bug args come in on.
 1.1.4.1 21-Jun-2001  nathanw Catch up to -current.
 1.1.2.3 21-Apr-2001  bouyer Sync with HEAD
 1.1.2.2 08-Dec-2000  bouyer Sync with HEAD.
 1.1.2.1 05-Dec-2000  bouyer file bugstart.s was added on branch thorpej_scsipi on 2000-12-08 09:28:43 +0000
 1.2.174.1 03-Dec-2017  jdolecek update from HEAD
 1.2.8.2 14-Apr-2001  scw Fix bootline argument passing from the Bug PROM.
 1.2.8.1 14-Apr-2001  scw file bugstart.s was added on branch nathanw_sa on 2001-04-14 13:43:09 +0000
 1.3 12-Jan-2008  tsutsui Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.2 17-May-1996  chuck branches: 1.2.84; 1.2.146; 1.2.152; 1.2.160;
update for libbug.h, console I/O
 1.1 17-May-1996  chuck libbug from Dale Rahn. Revisions by Theo de Raadt and myself.
 1.2.160.1 19-Jan-2008  bouyer Sync with HEAD
 1.2.152.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.146.1 23-Mar-2008  matt sync with HEAD
 1.2.84.1 21-Jan-2008  yamt sync with head
 1.3 12-Jan-2008  tsutsui Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.2 17-May-1996  chuck branches: 1.2.84; 1.2.146; 1.2.152; 1.2.160;
update for libbug.h, console I/O
 1.1 17-May-1996  chuck libbug from Dale Rahn. Revisions by Theo de Raadt and myself.
 1.2.160.1 19-Jan-2008  bouyer Sync with HEAD
 1.2.152.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.146.1 23-Mar-2008  matt sync with HEAD
 1.2.84.1 21-Jan-2008  yamt sync with head
 1.3 12-Jan-2008  tsutsui Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.2 17-May-1996  chuck branches: 1.2.84; 1.2.146; 1.2.152; 1.2.160;
update for libbug.h, console I/O
 1.1 17-May-1996  chuck libbug from Dale Rahn. Revisions by Theo de Raadt and myself.
 1.2.160.1 19-Jan-2008  bouyer Sync with HEAD
 1.2.152.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.146.1 23-Mar-2008  matt sync with HEAD
 1.2.84.1 21-Jan-2008  yamt sync with head
 1.3 12-Jan-2008  tsutsui Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.2 17-May-1996  chuck branches: 1.2.84; 1.2.146; 1.2.152; 1.2.160;
update for libbug.h, console I/O
 1.1 17-May-1996  chuck libbug from Dale Rahn. Revisions by Theo de Raadt and myself.
 1.2.160.1 19-Jan-2008  bouyer Sync with HEAD
 1.2.152.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.146.1 23-Mar-2008  matt sync with HEAD
 1.2.84.1 21-Jan-2008  yamt sync with head
 1.4 12-Jan-2008  tsutsui Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.3 11-Dec-2005  christos branches: 1.3.50; 1.3.56; 1.3.64;
merge ktrace-lwp.
 1.2 28-Jun-2005  junyoung branches: 1.2.2;
#include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
 1.1 17-May-1996  chuck branches: 1.1.68;
update for libbug.h, console I/O
 1.1.68.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.2.1 21-Jan-2008  yamt sync with head
 1.3.64.1 19-Jan-2008  bouyer Sync with HEAD
 1.3.56.1 18-Feb-2008  mjf Sync with HEAD.
 1.3.50.1 23-Mar-2008  matt sync with HEAD
 1.3 12-Jan-2008  tsutsui Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.2 17-May-1996  chuck branches: 1.2.84; 1.2.146; 1.2.152; 1.2.160;
update for libbug.h, console I/O
 1.1 17-May-1996  chuck libbug from Dale Rahn. Revisions by Theo de Raadt and myself.
 1.2.160.1 19-Jan-2008  bouyer Sync with HEAD
 1.2.152.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.146.1 23-Mar-2008  matt sync with HEAD
 1.2.84.1 21-Jan-2008  yamt sync with head
 1.4 12-Jan-2008  tsutsui Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.3 05-Dec-2000  scw branches: 1.3.40; 1.3.102; 1.3.108; 1.3.116;
Replace the startup C code with assembler, which avoids having to
explicitly tell the compiler what registers the Bug args come in on.
 1.2 24-Jul-2000  jdolecek cleanup Makefiles, put common stuff to Makefile.booters, ditch unnecessary
stuff
make this all compile with -Wall -Wno-main -Wmissing-prototypes
-Wstrict-prototypes -Werror , also compilable on 1.4.1
label itself as NetBSD/mvme68k instead of "BSD" in bootblock message
move bugcrt.c to libbug, remove bugcrt directory (bugcrt is still built
and used separately to rest of libbug)
convert sboot to use ordinary mvme68 libsa, instead of copying needed
stuff in libc_sa.c
convert to use version info generated by sys/conf/newvers_stand.sh
instead of previous version.c files, add necessary 'version' files
put chiptotime() to separate libsa file (used also by sboot/clock.c)

Thanks to Steve Woodford for help with this. Note that -current build
might be hosed by this change, will be addressed by Steve shortly.
 1.1 17-May-1996  chuck branches: 1.1.32;
update for libbug.h, console I/O
 1.1.32.2 08-Dec-2000  bouyer Sync with HEAD.
 1.1.32.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.3.116.1 19-Jan-2008  bouyer Sync with HEAD
 1.3.108.1 18-Feb-2008  mjf Sync with HEAD.
 1.3.102.1 23-Mar-2008  matt sync with HEAD
 1.3.40.1 21-Jan-2008  yamt sync with head
 1.4 23-Sep-2013  tsutsui Make MVMEPROM_ARG2() macro take two args in a single asm statement.

Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.

Should be pulled up to netbsd-6 branches.
 1.3 12-Jan-2008  tsutsui branches: 1.3.44; 1.3.50; 1.3.54; 1.3.56; 1.3.60; 1.3.66;
Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.2 17-May-1996  chuck branches: 1.2.84; 1.2.146; 1.2.152; 1.2.160;
update for libbug.h, console I/O
 1.1 17-May-1996  chuck libbug from Dale Rahn. Revisions by Theo de Raadt and myself.
 1.2.160.1 19-Jan-2008  bouyer Sync with HEAD
 1.2.152.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.146.1 23-Mar-2008  matt sync with HEAD
 1.2.84.1 21-Jan-2008  yamt sync with head
 1.3.66.1 23-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.3.60.1 18-May-2014  rmind sync with head
 1.3.56.1 26-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.3.54.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.50.1 23-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.3.44.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4 23-Sep-2013  tsutsui Make MVMEPROM_ARG2() macro take two args in a single asm statement.

Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.

Should be pulled up to netbsd-6 branches.
 1.3 12-Jan-2008  tsutsui branches: 1.3.44; 1.3.50; 1.3.54; 1.3.56; 1.3.60; 1.3.66;
Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.2 17-May-1996  chuck branches: 1.2.84; 1.2.146; 1.2.152; 1.2.160;
update for libbug.h, console I/O
 1.1 17-May-1996  chuck libbug from Dale Rahn. Revisions by Theo de Raadt and myself.
 1.2.160.1 19-Jan-2008  bouyer Sync with HEAD
 1.2.152.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.146.1 23-Mar-2008  matt sync with HEAD
 1.2.84.1 21-Jan-2008  yamt sync with head
 1.3.66.1 23-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.3.60.1 18-May-2014  rmind sync with head
 1.3.56.1 26-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.3.54.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.50.1 23-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.3.44.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 12-Jan-2008  tsutsui Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.1 17-May-1996  chuck branches: 1.1.84; 1.1.146; 1.1.152; 1.1.160;
update for libbug.h, console I/O
 1.1.160.1 19-Jan-2008  bouyer Sync with HEAD
 1.1.152.1 18-Feb-2008  mjf Sync with HEAD.
 1.1.146.1 23-Mar-2008  matt sync with HEAD
 1.1.84.1 21-Jan-2008  yamt sync with head
 1.3 12-Jan-2008  tsutsui Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.2 17-May-1996  chuck branches: 1.2.84; 1.2.146; 1.2.152; 1.2.160;
update for libbug.h, console I/O
 1.1 17-May-1996  chuck libbug from Dale Rahn. Revisions by Theo de Raadt and myself.
 1.2.160.1 19-Jan-2008  bouyer Sync with HEAD
 1.2.152.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.146.1 23-Mar-2008  matt sync with HEAD
 1.2.84.1 21-Jan-2008  yamt sync with head
 1.3 12-Jan-2008  tsutsui Misc cleanup:
- KNF, ANSIfy, remove __P()
- use __func__ to print function names
- use __arraycount()
- include "ioconf.h" for struct cfdriver
- u_intNN_t -> uintNN_t
- wrap long lines
etc.
 1.2 17-May-1996  chuck branches: 1.2.84; 1.2.146; 1.2.152; 1.2.160;
update for libbug.h, console I/O
 1.1 17-May-1996  chuck libbug from Dale Rahn. Revisions by Theo de Raadt and myself.
 1.2.160.1 19-Jan-2008  bouyer Sync with HEAD
 1.2.152.1 18-Feb-2008  mjf Sync with HEAD.
 1.2.146.1 23-Mar-2008  matt sync with HEAD
 1.2.84.1 21-Jan-2008  yamt sync with head

RSS XML Feed