CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2012/12/31 14:35:32
Modified files: sys/arch/mvme68k/include: prom.h sys/arch/mvme68k/stand: Makefile.inc sys/arch/mvme68k/stand/bootsd: Makefile boot.c version.c sys/arch/mvme68k/stand/bootst: Makefile boot.c conf.c dev_tape.c rawfs.c version.c sys/arch/mvme68k/stand/bootxx: Makefile bootxx.c sys/arch/mvme68k/stand/bugcrt: Makefile Makefile.inc bugcrt.c sys/arch/mvme68k/stand/installboot: installboot.c sys/arch/mvme68k/stand/libbug: libbug.h sys/arch/mvme68k/stand/libsa: Makefile bugdev.c clock.c exec_mvme.c libsa.h parse_args.c sys/arch/mvme68k/stand/netboot: Makefile boot.c conf.c dev_net.c dev_net.h devopen.c if_ie.c if_le.c version.c sys/arch/mvme68k/stand/prtvid: prtvid.c sys/arch/mvme68k/stand/sboot: Makefile clock.c etherfun.c if_le.c sboot.c sboot.h srec.c sys/arch/mvme68k/stand/wrtvid: wrtvid.c Added files: sys/arch/mvme68k/include: loadfile_machdep.h sys/arch/mvme68k/stand/bugcrt: bugcrtS.S Removed files: sys/arch/mvme68k/stand/bootxx: version.c Log message: Switch mvme68k boot blocks to use the MI libsa loadfile routines to load kernel images, instead of their own; gives us the ability to load ELF kernels for free. Fix many warnings, and generally make the code closer to the current mvme88k boot blocks to help diffability. Rewrite bugcrt and bugexec() as a short assembly shim around a compiler-independent C block; this will allow compilers other than gcc2 to be used, and removes the need for bugcrt to be compiled without optimization. Crank all bootblocks versions.